datetime module

datetime::epoch_millis

Get the Unix epoch timestamp in milliseconds from a datetime.

Syntax

RQL

Parameters

NameTypeDescription
datetime_valueDatetimeThe datetime to convert to epoch milliseconds

Return Value

Returns an integer representing the number of milliseconds since the Unix epoch.

Examples

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

Related Functions