DATE()

DATE()

Top  Previous  Next

 

The DATE() function returns the internal value of the current date.

 

 

Format

 

DATE()

 

 

The DATE() function returns the day number of the current date within the user's time zone. Day numbers are defined such that 31 December 1967 is day zero. Date values representing dates earlier than this are negative.

 

 

Example

 

INVOICE.REC<7> = DATE()

 

This statement assigns field 7 of INVOICE.REC with the internal date value of the current day.

 

 

See also:

@DATE, EPOCH(), TIME()