WD6X: How to Set a Default DATE Field Format in Word 6 |
Q110995
This article describes how you can set a default date format in Word 6.0
for Windows by adding a line to the WINWORD6.INI file. In Microsoft Word
for the Macintosh, version 6.0 the same results is achieved by adding a
line to the Word Settings (6) file.
This default applies whenever you insert a DATE field with no Date-Time
Picture switches (\@). It does not apply when you insert the date using the
Date And Time command on the Insert menu or when you insert the date using
the ALT+SHIFT+D (CTRL+SHIFT+D on the Macintosh) shortcut key combination.
This is because dates inserted from the menu use their own fields and
formats. The ALT+SHIFT+D (CTRL+SHIFT+D on the Macintosh) shortcut key
inserts the date with the format you selected most recently from the
Insert Date And Time menu ({DATE \L}); therefore, it is unaffected by the
DATEFORMAT setting.
DATEFORMAT=<format>
Note: <format> is the default format you want Word to use when you insert a
DATE field. The following are a few sample formats:
Setting Result
------- ------
DATEFORMAT=MMMM d, yyyy January 2, 1994
DATEFORMAT=MMMM dd, yyyy January 02, 1994
DATEFORMAT=dddd, MMMM d, yyyy Sunday, January 2, 1994
DATEFORMAT=h:mm am/pm dddd, MMMM d 10:00 am Sunday, January 2
You can use any Date-Time Picture switch format for this setting. To
display all the available Date-Time Picture switch formats, double-click
the Help button on the Standard toolbar and then type "Date-Time Picture"
(without the quotation marks).
Additional query words: change changing
Keywords : kbfield winword macword word6
Issue type : kbhowto
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |