to_epoch

XQL_function_descriptions.json

Synopsis

to_epoch(field OR expr: timestamp, kind: string)

Description

Converts a timestamp value for a particular field or function result to the Unix epoch timestamp format in seconds (default). To override the command, use the second parameter, such as to_epoch(,"").