Word keeps track of a good deal of information about your document, and then makes that information available to you. One of the pieces of information tracked is the document creation date. This is the date when the file was first created (opened as a new file) or the last time you chose Save As and saved the file under a new name. Word allows you to insert this date into your document by following these steps:
Figure 1. The Field dialog box.
This type of date field is a big help when you are using dates with memos, letters, and reports. The date stays the same as when you first created the file, unless (again) you save the file under a new name, which changes the file creation date.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9299) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Office 365. You can find a version of this tip for the older menu interface of Word here: Inserting the Document Creation Date.
The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!
The most common way of adding symbols to a document is to use the Symbol dialog box. There is another way, however, that ...
Discover MoreWord keeps track of a name for the person using the program. If you want to add this person's name into the document, ...
Discover MoreIf you use the INCLUDEPICTURE field to add images to your document, you may love the macro in this tip. It allows you to ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2016-05-26 17:54:32
when i read my comment I saw that the computer changed my formulas in other notification into the numbers as stated in my comment
my comment should haver read:
160526 231000 shortcut for create date and time now in .doc
My idea for “create date” is that there is no argument to discribe the date with separatingpoints.
In every .doc I use the 13 digit notification for create date+time that wil begin with 6 and 6 numbers separated with a space. {CREATEDATE @"yyMMdd HHmmss"}
In autocorrect I chose “[.” That gives in other notification: {CREATEDATE @"yyMMdd HHmmss"
For the short cut for “date time” of this very moment I use “nu=” (nu =Dutch for now)That gives in the 13 digit notification: {DATE @"yyMMdd HHmmss"
To get my results I used the formulas given in „inserts“. But in these formulas is given a space between date and time and also a „merge“ instruction. I changed that in the window in top of the menu from M/d/yyyy h:mm:ss am/pm to {CREATEDATE @"yyMMdd HHmmss"
For the “time now” i did it the same way.
2016-05-26 17:41:44
160526 231000 shortcut for create date and time now in .doc
My idea for “create date” is that there is no argument to discribe the date with separatingpoints.
In every .doc I use the 13 digit notification for create date+time that wil begin with 6 and 6 numbers separated with a space. 160526 231000
In autocorrect I chose “[.” That gives in other notification: 160526 231000
For the short cut for “date time” of this very moment I use “nu=” (nu =Dutch for now)That gives in the 13 digit notification: 160526 232505
To get my results I used the formulas given in „inserts“. But in these formulas is given a space between date and time and also a „merge“ instruction. I changed that in the window in top of the menu from M/d/yyyy h:mm:ss am/pm to 160526 231000
For the “time now” i did it the same way.
Sybrand Hoekstra
2014-09-27 06:03:24
I regularly work in both English and French and have used the following macro to insert the current day's date (long format); whichever of the two languages my document is in. The date is inserted as text (not a field) so the date remains unchanged even if the files is saved under a new name.
The macro can easily be adapted to two other languages or even more that two languages if necessary, simply add more "Else" conditions.
No doubt it could also be improved, but I have been using it for a long time now, warts and all.
***********************
Sub InsertDate()
'
' Macro created 17/05/00 by Michael A. Harris
'
If Documents.Count >= 1 Then
Dim thislang
thislang = Selection.LanguageID
If thislang = 1036 Then
WordBasic.InsertField Field:="DATE @" + Chr(34) + "d MMMM yyyy" + Chr(34) + " * MERGEFORMAT"
WordBasic.WordLeft 3
WordBasic.CharRight 1, 1
WordBasic.UnlinkFields
WordBasic.CharRight 1
WordBasic.WordLeft 2
WordBasic.EditClear -1
WordBasic.Insert " "
WordBasic.WordRight 1
WordBasic.EditClear -1
WordBasic.Insert " "
WordBasic.WordRight 1
Else
Dim DateType$
WordBasic.InsertField Field:="DATE @" + Chr(34) + "d MMMM yyyy" + Chr(34) + " * MERGEFORMAT"
WordBasic.WordLeft 3
WordBasic.CharRight 1, 1
WordBasic.UnlinkFields
WordBasic.CharRight 1
WordBasic.WordLeft 1
WordBasic.EditClear -1
WordBasic.Insert " "
WordBasic.WordLeft 1
WordBasic.EditClear -1
Select Case WordBasic.day(WordBasic.Now())
Case 1, 21, 31
DateType$ = "st "
Case 2, 22
DateType$ = "nd "
Case 3, 23
DateType$ = "rd "
Case Else
DateType$ = "th "
End Select
WordBasic.Insert DateType$
WordBasic.CharLeft 3
WordBasic.CharRight 2, 1
WordBasic.Superscript
WordBasic.WordRight 3
End If
End If
End Sub
***********************
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2021 Sharon Parq Associates, Inc.
Comments