@TODAY

Returns a number representing the current date on the Essbase computer. The number is the number of seconds elapsed since midnight, January 1, 1970.

Syntax

@TODAY()

Notes

  • The date returned can be used as input to other functions listed in the See Also section.

  • As this function is a run-time formula, you cannot use it in a FIX statement.

Example

If today’s date is 15-Jul-2014, the following expression returns 15:

@DATEPART(@TODAY(), DP_DAY)

See also the example for @FORMATDATE.

See Also