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.
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.
Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!
Once you save a document on disk, it is stored in a particular folder (or location) on that disk. You may want that ...
Discover MoreNeed to step through the fields in a document? It's easy using the shortcuts detailed in this tip.
Discover MoreWord allows you to configure what you see so that field codes are visible instead of the results of those field codes. ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments