datetime module

datetime::from_epoch_millis

Create a datetime from a Unix epoch timestamp in milliseconds.

Syntax

RQL

Parameters

NameTypeDescription
millisecondsIntegerThe number of milliseconds since the Unix epoch

Return Value

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

Examples

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

Related Functions