Applies ToWord for Microsoft 365 Word 2024 Word 2021 Word 2019 Word 2016

The Date field inserts the current date.

When you click Date & Time in the Text group on the Insert tab, Word inserts a Date field.

You can also insert a Date field in the body of a document by doing the following:

  1. On the Insert tab, in the Text group, click Quick Parts, and then click Field.

  2. In the Field dialog box, under Field names, click Date.

Note: The Date and Time fields can display a date, a time, or both, depending on the format you specify in a date-time picture switch.

Syntax

When you view the Date field code in your document, the syntax looks like this:

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

Note:  A field code tells the field what to show. Field results are what is shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9.

Switches

\@ "Date-Time Picture"

Specifies a date format other than the default format. If you select a format in the Field dialog box, Word inserts a corresponding date-time picture switch.

To use a format that's not listed in the Field dialog box, click the Field Codes button and type the format switch directly in the Field codes box.

\l

Inserts the date with the last format that you selected in the Date and Time dialog box.

\h

Specifies use of the Hijri/Lunar calendar.

\s

Specifies use of the Saka Era calendar.

Examples

{ DATE \@ "dddd, MMMM d" } displays Saturday, November 26

{ DATE \@ "h:mm am/pm, dddd, MMMM d" } displays 10:00 AM, Saturday, November 26

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.