dateint()

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

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

Syntax

dateint ( datevalue )

Parameters

datevalue

A date.

Usage

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

Example

dateint (undate ('1970:01:01 00:01:01')) returns 61.