epoch()

Receives seconds or milliseconds that have elapsed since January 1, 1970, and converts them to a date type. This interprets the parameter value as milliseconds if the parameter value is interpreted as seconds to be greater than 1 January 9999.

Syntax

epoch(NUM_EXPR)
Require Parameter
NUM_EXPR
Expression that returns the natural number in seconds or milliseconds.

Usage

json "{}" 
| eval time=epoch(1435196373492)
  => 2015-06-25 10:39:33+0900