Skip to content

since_epoch

Interprets a time value as duration since the Unix epoch.

since_epoch(x:time) -> duration

The since_epoch function turns a time value into a duration since the Unix epoch, i.e., since 00:00:00 UTC on January 1970.

from { x: since_epoch(2021-02-24) }
{x: 18682.0d}

as_secs, from_epoch, now