int :dt-to-unix ( float $DATETIME )
int :dt-to-unix
Takes a DateTime value and returns its corresponding Unix Timestamp. When omitted, the value defaults to current time.
# :dt-to-unix example :set &dt :dt-encode i2000 i07 i18 i06 i30 i00 :writeln s'2000-07-18 06:30:00' :writeln s'DateTime: ' $dt :writeln s'Timestamp: ' :dt-to-unix $dt
wikipage modified on 2014/0601/2317