Date$

This function returns the current date as given from the system in a Date format. This date time is obtained from the process server and is the local time (the timezone of the server).

Syntax

date$

Example

Local Date MY_DATE
MY_DATE=date$

Comment

If you need to access the current date in UTC (in Greenwitch zone), the formula left$(num$(datetime$),10) returns the right value in the format YYYY-MM-DD.

See also

Date, DateTime definition, Datetime$, time$, DateTime, gdatetime$.