Today

Description

Obtains the system date and time.

Syntax

Today ( )

Returns

DateTime. Returns the current system date and time.

Usage

To display both the date and the time, a computed field must have a display format that includes the time.

The PowerScript and DataWindow painter versions of the Today function have different datatypes. The return value of the PowerScript Today function is date.

Examples

Example 1

This expression for a computed field displays the date and time when the display format for the field is "mm/dd/yy hh:mm":

Today()

See also