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 or “YYYY-MM-DD” format (XDM Date format)
string
date time
dateTime
Signatures and returned types
toDateTimeOnly(<dateTime>)
toDateTimeOnly(<string>)
Return a datetime without considering time zone.
Examples
toDateTimeOnly ("2016-08-18")
returns a dateTime representing 2016-08-18T00:00:00.000
toDateTimeOnly(now())
recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9