TODAY( ) function

Returns the current operating system date as a Datetime data type.

Syntax

TODAY()

Parameters

This function does not have any parameters.

Output

Datetime.

Examples

Basic examples

Returns the current operating system date as a datetime value, for example `20141231`, displayed using the current Analytics date display format:

TODAY()

Remarks

Date and time functions can sometimes be challenging to use correctly. In the Help, function topics describe the specific details of how each function works. For information about some general considerations when using date and time functions, see the following topics:

Related functions

If you need to return the current operating system date as a character string, use DATE( ) instead of TODAY( ).