DATE

Syntax:

DATE [ switches ]

Description: Retrieves the current date and time. By default, the Gregorian calendar is used, and the date-and-time-formatting-switch used is implementation-defined.

Field Value: The current date and time.

Switches: Zero or one date-and-time-formatting-switch and zero or one of the following field-specific-switches.

\h

Use the Hijri/Lunar calendar.

\l

If no date-and-time-formatting-switch is used, the date shall use the date format last used by the hosting application when inserting a new DATE field.

\s

Use the Saka Era calendar.

example:

DATEDATE \@ "dddd, MMMM dd, yyyy HH:mm:ss"DATE \@ "dddd, MMMM dd, yyyy HH:mm:ss" \hDATE \@ "dddd, MMMM dd, yyyy HH:mm:ss" \s

the results are:

1/5/2006Thursday, January 05, 2006 19:09:01AlKhamis, 05, 1426 19:09:01 Bruhaspathivara, Pausa 15, 1927 19:09:01

Note: