
Tips.Net > WordTips Home > Creating Macros > Dates and Times > Different Ways of Inserting Dates
Summary: Word provides a couple of different ways you can insert the current date into a document. Which method should you choose? Understanding the ways that the methods work will help you make the right choice for your needs. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)
Word provides a couple of different ways to insert the current date in a document. One common way is to choose Date and Time from the Insert menu or, in Word 2007, to display the Insert tab of the ribbon and then click Date & Time in the Text group. Word displays the Date and Time dialog box (Click here to see a related figure.) and you can choose how you want the date and time inserted in your document.
At the bottom of the Date and Time dialog box there is an interesting check box entitled Update Automatically. If this check box is not selected, then when you click OK, the date is inserted in your document as text. If you select the check box, then the date is inserted as a DATE field. The difference between the two, of course, is that when a date is inserted as text, it is static; it doesn't change. If the DATE field is used, then the date is dynamic, and it always changes to reflect the current date.
If you are a keyboard-oriented person, then you can insert today's date by pressing Shift+Alt+D. This shortcut always inserts a DATE field, the same as if you had used the Date and Time dialog box and selected the Update Automatically check box.
Even though the Date and Time dialog box and the Shift+Alt+D shortcut do similar things (allow you to insert the date), there is no "association" between the two. Shift+Alt+D is an independent shortcut; it is not a shortcut for the Date and Time dialog box. This means that the settings in the Date and Time dialog box are not configuration settings for Shift+Alt+D. Instead, the keyboard shortcut always inserts the dynamic DATE field, regardless of how you last used the Date and Time dialog box.
The upshot of this distinction, of course, is that if you want to put a static, non-changing date into your document, you should either just type it or you should use the Date and Time dialog box with the Update Automatically check box unselected.
If you are insistent on using a keyboard shortcut, you will need to use Shift+Alt+D to insert the date, press the left arrow key until you are in the middle of the inserted date, and then press Shift+Ctrl+F9 to unlink the field. (Unlinking a field replaces the field code with the result of that field code. It effectively gets rid of the field.)
Tip #3418 applies to Microsoft Word versions: 97 2000 2002 2003 2007
More Power! For some people, the prospect of creating Word macros can be scary. WordTips: The Macros can help you conquer your fears and you'll discover you're much more confident and productive as you make Word do exactly what you want. This is an invaluable source for learning macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of WordTips. Learn at your own pace, exactly the way you want.
Check out WordTips: The Macros today!
Have thousands of WordTips at your fingertips, on your own system. Answer your own questions or help support others. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Word2007 Tips
WordTips