SHORTDATE
SHORTDATE_TODAY
LONGDATE
LONGDATE_TODAY
CUSTOMDATE format_string
CUSTOMDATE_TODAY format_string


SHORTDATE and LONGDATE have no parameters. These insert today's date in the current format specified by Control Panel on your computer. The command versions ending with _TODAY are exactly the same.

The CUSTOMDATE requires a format_string. This determines how the date will be displayed in the report. Please see the custom date format string help topic for details of this.

If you want to use the date range dates that you might have passed in to the editor, then you can use the following commands, which behave exactly the same, except they use the start and end range dates:

SHORTDATE_STARTDATE
LONGDATE_STARTDATE
CUSTOMDATE_STARTDATE format_string
SHORTDATE_ENDDATE
LONGDATE_ENDDATE
CUSTOMDATE_ENDDATE format_string

If you use these start and end range dates, and you haven't actually set a date range (because you checked the "All Entries" option) it will say "<No date range specified>" in the report.


Examples:

SHORTDATE
LONGDATE
CUSTOMDATE "%A, %d %b, %Y"