Share via


DateTimeUtil::toStr Method

Converts a utcdatetime value to a string in the following format: YYYY-MM-DDThh:mm:ss, where T is a character literal.

Syntax

client server public static str toStr(utcdatetime t)

Run On

Called

Parameters

  • t
    Type: utcdatetime
    The utcdatetime value to convert.

Return Value

Type: str
The string representation of the specified utcdatetime value.

See Also

Reference

DateTimeUtil Class