Insert Date

Ribbon Insert Date


Press the Insert Date button on the ribbon bar.
Command Syntax
Insert Date dialogue
This inserts today's date, range start date or range end date using your PC's short or long date format. Since the result is a piece of text, it is affected by any font, colour or alignment settings (and requires EOL to be issued to show on the screen / report).

Select Custom date if you want to specify yourself how the date is to be displayed in the report.  This will enable the edit box and dropdown list. Use the edit box to specify the format string that you want to use or use the dropdown list to choose from several predefined date formats.

You may alter a predefined format string after you have selected it from the dropdown list. If you do this, the dropdown list will automatically change to say User Defined. See here for full details about the format codes.

Days of the week and months of the year are shown in the dropdown list in the same language as the program interface. However, the sample date will take into account the program options.

The Range start and Range end options will be disabled if you have selected All Entries on the custom reports maintenance page. Also, if any report uses the date range commands in the script, and you have selected All Entries, then the report will display "No date range specified".
Insert 
You must press Insert (or Update if editing an existing command) for your changes to be applied to the current script in the editor.