How to Use Microsoft Word Field Codes to Create Automatically Updating Document Timestamps

The Static Date Problem

If you create legal contracts, corporate letterheads, or standardized project reports in Microsoft Word, you likely need a date printed at the top of the document. Most users simply type the current date manually (e.g., “October 26, 2023”).

The problem arises when you use that document as a template. Six months later, you open the template, fill out the report, print it, and hand it to your boss—only to realize the date at the top still says “October 26”. Manually updating dates across dozens of templates is tedious and prone to embarrassing administrative errors.

Microsoft Word has a hidden, programmatic feature designed to solve this exact problem: Field Codes.

By inserting a specific Field Code, you can instruct Word to automatically generate a dynamic timestamp that updates itself based on specific criteria (like when the document was printed, or when it was last saved), ensuring your documents are always perfectly accurate without manual intervention.

Step 1: Accessing the Field Menu

While you can use the basic “Insert Date and Time” button on the Ribbon, the true power lies in the Field dialog box.

  1. Place your cursor exactly where you want the dynamic date to appear in your document.
  2. Go to the Insert tab on the Ribbon.
  3. In the Text group (usually toward the right), click on Quick Parts.
  4. Select Field… from the dropdown menu.

Step 2: Choosing the Right Date Variable

In the Field dialog box, look at the list of “Field names” on the left. Scroll down until you see the date options. Choosing the correct one is critical for a professional workflow:

  • CreateDate: This permanently locks in the exact date and time the document was originally created. This is crucial for legal contracts where the date of inception must never change, even if the file is opened years later.
  • SaveDate: This updates the timestamp to match the exact moment the user last clicked “Save”. This is perfect for collaborative drafts (e.g., “Last Revised: [SaveDate]”).
  • PrintDate: This updates the timestamp at the exact moment the document is sent to the printer. This is ideal for invoices or memos that might be drafted on a Tuesday but aren’t actually printed and mailed until Friday.
  • Date: This simply displays today’s date. (Warning: Every time you open the document, this will change. Do not use this for permanent records).

Step 3: Formatting the Timestamp

Once you select your desired field (e.g., SaveDate), look at the “Field properties” section in the middle of the box.

Here, you can choose exactly how the date will look. You can select a pre-made format like M/d/yyyy (10/26/2023) or a highly formal layout like dddd, MMMM d, yyyy (Thursday, October 26, 2023).

Click OK. The dynamic date will instantly appear in your document.

Step 4: Revealing and Editing Field Codes (Advanced)

Once the date is on your page, it looks like normal text, but it is actually a line of code. If you want to modify it without going back through the menus, you can reveal the underlying code.

Press Alt + F9 on your keyboard. (On a Mac, use Option + F9).

Your date (e.g., October 26, 2023) will suddenly transform into raw code enclosed in curly braces, looking something like this:

{ SAVEDATE \@ "MMMM d, yyyy" \* MERGEFORMAT }

You can directly edit the formatting string (the text inside the quotes) to change how the date appears. For example, changing it to "MM/dd/yy hh:mm am/pm" will instantly add the specific hour and minute to the timestamp.

Press Alt + F9 again to hide the code and display the newly formatted date.

Step 5: Forcing an Update

If you are using SaveDate, the text on your screen will not instantly change the second you click Save. Word often waits until the document is closed and reopened, or until it is printed, to refresh the visual display of the fields to save processing power.

If you want to force the date to update immediately on your screen so you can verify it, simply click on the date (it will highlight in grey) and press F9 on your keyboard. Word will instantly recalculate the Field Code and display the most accurate timestamp.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.