TOTIMESTAMP
conversion dateConfiguration parameters
-
warp.timeunits
Converts a date in format ISO8601 into a timestamp in the platform's time unit.
The TOTIMESTAMP
function consumes a string parameter (date + time + time zone) from the top of the stack and pushes back its conversion to a number of time units since the Unix Epoch.
The time unit depends on the platform configuration warp.timeunits
(microseconds by default on a standalone).
The supported format is ISO8601 and are:
- yyyy-mm-dddThh:mm:ss.ssssssZ
- yyyy-mm-dddThh:mm:ss+hh:mm
As the string are URL encoded, the symbol + have to be replaced by %2B, otherwise a space will replace the + in the string.