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

Switching between a Dialog Box and the Document

Word uses lots of dialog boxes as a way of setting configuration options and gathering information from users. When ...

Discover More

Determining an ANSI Value

You may need to determine the numeric value of a character in a macro. You can do that using the Asc function, described ...

Discover More

Naming Tabs for Weeks

Need to set up a workbook that includes a worksheet for each week of the year? Here's a couple of quick macros that can ...

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)

Inserting the Template Name in Your Document

Templates are a powerful part of the Word experience, as they allow you to create and format documents based on patterns. ...

Discover More

Copying Form Field Contents

Are you developing a form with Word? In some instances it is advantageous to copy whatever is entered in a form field to ...

Discover More

Sticking with the Dashes

By default, dashes don't "stick" to the text that follows them. Here's one way around this normal formatting convention.

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 2 + 2?

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.