Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Understanding Default DATE Field Formatting.

Understanding Default DATE Field Formatting

by Allen Wyatt
(last updated August 20, 2016)

When you use a DATE field in Word, the program follows a very logical series of steps to determine how that date should be displayed. First, if you have specified a date format by using the \@ switch with the field, that format is used.

If there is no format switch used, meaning the field is simply { DATE }, then Word looks for the existence of the optional DateFormat specification. The DateFormat specification is stored in the Registry in the following key:

HKEY_CURRENT_USER\Software\Microsoft\Office\[ver]\Word\Options

In this key, [ver] should be replaced with the version number of Word: 8.0 for Word 97, 9.0 for Word 2000, 10.0 for Word 2002, 11.0 for Word 2003, or 12.0 for Word 2007. The name of the Registry value is either DateFormat or DefaultDateFormat, depending on the version of Word you are using, and the Registry value has the same syntax as the format string used with the \@ switch (again, no quote marks).

Note that the DateFormat specification is completely optional; it is not created by Word by default. You can create it using the Registry editor. As with any other Registry changes, you must quit the Registry editor and restart Word for your changes to take effect.

Perhaps the easiest way to set the DateFormat specification, though, is to use the Default button from the Insert Date and Time dialog box. Once the dialog box is displayed (how you display it depends on your version of Word), click on Default. This creates or changes the DateFormat specification in the proper Registry key.

If the DateFormat specification is not set on your system, then Word determines the DATE field display format from the regional date settings. You can determine which format this is by starting the Control Panel, double-clicking on Regional Settings, and then choosing the Date tab. The Short Date Style is the format used.

There have been reports that Word is not completely consistent in how it displays text-related date fields. If you include a \@ switch format string with the DATE field, and that format calls for the display of full or partial month or day names (such as Tuesday or September), then the language used for the names is dependent on the language assigned to the paragraph in which the DATE field is being inserted. If you don't include the \@ switch format string, and you have the DateFormat specification set up on your system, then the month or day names always appear in English, regardless of what language you have specified for your paragraph or for your Control Panel regional settings.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1264) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Understanding Default DATE Field Formatting.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Cannot Add Words to Dictionary

We all run across words that are spelled correctly, but that Word isn't aware of. The solution is to add those words to the ...

Discover More

Word's Object Model

Understanding Word's Object Model and how it relates to macros in VBA.

Discover More

Superscripted Registered Trademark Symbol

Word, by default, includes an AutoCorrect entry that converts (r) to a registered trademark symbol. The problem is, the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

MORE WORDTIPS (MENU)

Tools to View Field Codes

Fields can be used to add all sorts of dynamic data to your documents. Viewing the field codes, at times, is desirable. ...

Discover More

Using RD Fields with Chapter Headings

The RD field can be handy for pulling together a bunch of documents into a single file. However, using the field can play ...

Discover More

Keeping Fields and Text Together

You can use fields for a wide variety of purposes in your documents. If you want to make sure that a field and the text that ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments for this tip:

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 9 + 8?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.

Links and Sharing
Share