toDateTime
Converts a value to a datetime.
Arguments
- String or date to convert.
- Optional: If the first argument is a date, you can specify a time as a string or time data type. Otherwise the local time 00:00 is used.
Examples
Expression | Result |
---|---|
toDateTime("2021-04-21") | 2021-04-21T00:00Z |
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!