Skip to main content

UNIX_TIMESTAMP

Deprecated version

This document refers to a deprecated version of the RQL programming language.

Please go here for documentation related to the latest supported version.

Turns a timestamp into the corresponding Unix epoch (number of seconds since 01-01-1970) as a long.

Syntax
UNIX_TIMESTAMP(<timestamp>)
Example
UNIX_TIMESTAMP(TIMESTAMP "2018-02-01 01:02")