Converts an argument value into a date time only value.
Conversion
toDateTimeOnly(<parameters>)
Parameter | Type |
---|---|
date time in ISO-8601 or “YYYY-MM-DD” format (XDM Date format) | string |
date time | dateTime |
toDateTimeOnly(<dateTime>)
toDateTimeOnly(<string>)
Return a datetime without considering time zone.
toDateTimeOnly ("2023-08-18")
returns a dateTime representing 2023-08-18T00:00:00.000
toDateTimeOnly(now())