Description
CurrentDateTime returns the current date and time on a report.
Action
CurrentDateTime returns the current date and time on a report. The date and time is taken from your computer's internal clock.
Typical Uses
Use CurrentDateTime any time you want to stamp your report with the current date and time.
Examples
CurrentDateTime
Returns 1998/07/04 4:45:18, if you begin printing your report at 4:45:18 on July 4, 1998.
CurrentDateTime
Returns 1996/12/11 17:14:33, if you begin printing your report at 17:14:33 on December 11, 1996.
Comments
The date and time formats are determined by the settings in the International or Regional Settings control panel.
CurrentDateTime produces the same result as the formula:
CDateTime(CurrentDate, CurrentTime)