Show Menu
TOPICS×

toDateTimeOnly

Converts an argument value into a date time only value.

Category

Conversion

Function syntax

toDateTimeOnly(<parameters>)

Parameters

Parameter
Type
date time in ISO-8601 format
string
date time
dateTime

Signatures and returned types

toDateTimeOnly(<dateTime>)
toDateTimeOnly(<string>)
Return a datetime without considering time zone.

Examples

toDateTimeOnly ("2016-08-18T23:17:59.123Z")
Returns 2016-08-18T23:17:59.123.
toDateTimeOnly(now())