Converts an argument value into a date only value.
Category
Conversion
Function syntax
toDateOnly(<parameters>)
Parameters
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.