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

Written by Allen Wyatt (last updated August 1, 2022)
This tip applies to Word 97, 2000, 2002, and 2003


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

Inserting the Edit Time

One of the things that Word keeps track of is how long, in minutes, you've been editing your current document. This ...

Discover More

What Line Am I On?

At the bottom of your document, on the status bar, you can see the line on which your insertion point is located. It is ...

Discover More

Comparing Strings

As your macro is processing information, there will doubtless be times that it will need to compare information in ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (menu)

Using Mandatory Form Fields

When using form fields to gather information from users of your documents, you may want to make sure that some of the ...

Discover More

Implementing a Dynamic Document Control Table

Accurately and repeatedly referencing information within a document is a common task that needs to be done. One way to ...

Discover More

Sequentially Numbering Elements in Your Document

One of the most powerful and useful fields provided by Word is the SEQ field. This tip describes how you can use the ...

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

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}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. 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 1 + 1?

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


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Videos
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.