PARSE_TIME …string-expr…
STRING -> FLOAT?
This function takes a date as a string and convert it to a timestamp. It accepts various common encodings (similar to the UNIX at(1) command.
Beware that PARSE_TIME assumes all dates are in the local time zone.
The result is always nullable.
expression | evaluates to |
---|---|
(PARSE_TIME "1976-01-28 12:00:00.9") // 24h | 2218 |
(PARSE_TIME "12/25/2005") // 24h | 13141 |