toDateOnly toDateOnly
Converts an argument value into a date only value.
Category
Conversion
Function syntax
toDateOnly(<parameters>)
Parameters
Parameter
Type
date in ISO-8601 or 鈥淵YYY-MM-DD鈥 format (XDM Date format)
string
date
date
Signatures and returned types
toDateOnly(<date>)
toDateOnly(<string>)
Return a datetime without considering time zone.
Examples
toDateOnly("2016-08-18")
returns a dateOnly object representing 2016-08-18.
recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9