Field codes: SaveDate field

{ SAVEDATE [\@ "Date-Time Picture"] [Switches]}

Inserts the date and time a document was last saved, using information ("Modified") on the Statistics tab in the Properties dialog box (File menu).

Unless you select a different format, the date and time are displayed in the format specified as part of the regional settings in Microsoft Windows Control Panel.

Switches

\@ "Date-Time Picture"
Specifies a date and time format other than the default. If you select a format in the Field dialog box (Field command, Insert menu), Microsoft Word inserts a corresponding date-time picture switch.

To use a format that's not shown in the Field dialog box, click Field Codes and type the format switch directly in the Field code box. Learn more about date-time picture switches.

\h
Specifies use of the Hijri/Lunar calendar.
\s
Specifies use of the Saka Era calendar.

Examples

To print information such as "Document last changed: 6 November 1996 at 1320 hours" on each page of a document, insert the following text and field in a header or footer:

Document last changed: { SAVEDATE \@ "d MMMM yyyy 'at' HHmm 'hours' " }