DRAFTThis page is not published. Only visible in development mode.
datetime module

datetime::from_epoch

Create a datetime from a Unix epoch timestamp in seconds.

Syntax

RQL

Parameters

NameTypeDescription
secondsIntegerThe number of seconds since the Unix epoch

Return Value

Returns a Datetime corresponding to the given epoch timestamp in seconds.

Examples

$ Create datetime from epoch seconds
$ ctrl+enter to run

Related Functions