DateTimeUtil::anyToDateTime Method
Converts an anytype object to a utcdatetime value.
Syntax
client server public static utcdatetime anyToDateTime(anytype value)
Run On
Called
Parameters
- value
Type: anytype
The object to convert.
Return Value
Type: utcdatetime
A new utcdatetime value.
Remarks
The following example string shows the format of a date-time string that this anyToDateTime method can correctly convert: "2009-01-28T13:44:55".
The output of the DateTimeUtil::utcNow method is valid input into the anyToDateTime method.