intdate()

Scalar. Converts an integer representing the number of seconds since 1970-01-01 00:00:00 UTC (the Epoch) to a date.

Note: This function is supported in mixed case. The Event Stream Processor supports both intdate() and intDate(), and considers them the same function.

Syntax

intdate ( number )

Parameters

number

An integer representing the number of seconds since 1970-01-01 00:00:00 UTC (the Epoch).

Usage

Converts a value representing the number of seconds since 1970-01-01 00:00:00 UTC (the Epoch) to a date. The function takes an integer as its argument, and the function returns a date.

Example

intDate(1) returns a date, 1970-01-01 00:00:01.