Word tasks · Fields
Insert the current time as an updating field in Word
A sign-in sheet, a log, a cover page that should always show the moment it was printed — typing the time by hand guarantees it will be wrong by the second use. A TIME field shows the current time whenever Word updates it, in the format you choose, and it can live in the body, a header or a footer. This guide inserts the field two ways — the Date and Time dialog with Update automatically, and the Field dialog for full control — then covers updating, formatting and freezing a time that must never change again.
Insert the time with Date and Time
Microsoft's page on how to insert today's date in a Word document covers the shared dialog: with Update automatically ticked, the date or time goes in as a field; without it, as fixed text.
- Click where the time should appear. In the body, or double-click into a header or footer first if the time belongs on every page.
- Go to Insert > Date & Time. The button sits in the Text group. The dialog lists combined date-and-time formats and time-only formats.
- Choose a time format. Pick the entry that shows the time the way you want it — with or without seconds, 12-hour or 24-hour, depending on what the list offers for your region settings.
- Tick Update automatically, then click OK. That tick is the whole difference between a field and typed text. The time appears; rest the pointer over it and the faint gray shading marks it as a field.
Insert a TIME field directly
- Go to Insert > Quick Parts > Field. The Field dialog lists every field Word offers — Microsoft's list of field codes in Word includes Time among the date and time fields.
- Choose Time in the field names list. Pick a format from the date formats list, or leave the default, and click OK.
- See the code if you want it. Click the inserted time and press Alt + F9 to toggle between the result and its code, which reads like { TIME \@ "h:mm am/pm" }. Press Alt + F9 again to return to the result. The \@ switch is the format, written as a pattern of h, m, s and am/pm parts.
Update the time when you need it fresh
An updating field is not a clock: it does not tick while you watch. It refreshes when Word updates fields — on opening, before printing if that option is set, and whenever you update it yourself, as Microsoft notes in its guidance to insert, edit, and view fields in Word.
- Click the time and press F9. Or right-click it and choose Update Field. The display jumps to the current time.
- Update every field at once before printing. Select all with Ctrl + A, then press F9. Fields in headers and footers update separately — click into the header and update there too if the time lives in one.
- Make printing always refresh fields. File > Options > Display: tick 'Update fields before printing' so a printed copy never carries the time the document was last opened.
The DATE field can carry a time as part of its format, and the TIME field shows the current time. For a time-only display either works; TIME keeps the intent obvious to the next editor. Two neighbors are worth knowing: CREATEDATE never changes after the document is created, and PRINTDATE shows when the document was last printed — the right choice for a 'printed at' line.
Change the time format
- Right-click the time and choose Edit Field. Re-pick the format in the dialog and click OK — simpler than editing the code by hand.
- Or edit the \@ pattern directly. Toggle the code with Alt + F9 and adjust the pattern: h gives the hour in 12-hour form and H in 24-hour form, mm gives the minutes with a leading zero and ss the seconds, and am/pm adds the suffix. Toggle back and press F9 to see the result.
Freeze a time so it stops updating
- Select the field and press Ctrl + Shift + F9. This unlinks the field: the displayed time becomes ordinary text that will never update again. It cannot be undone into a field — the field is gone, though Ctrl + Z immediately after will restore it.
- Lock instead if the freeze is temporary. Ctrl +
F11locks a field so F9 and printing leave it alone; Ctrl + Shift +F11unlocks it. Locking suits a time that must hold for one print run and update again later.
End state
- The time appears in the chosen format, shaded as a field when you click it.
- Pressing F9 on the field brings it to the current time.
- Printed copies show a fresh time, because fields update before printing or are updated by hand first.
- Any time that had to stay fixed has been unlinked to plain text or locked, deliberately.
When it goes wrong
- The time never changes. It was inserted without Update automatically, so it is plain text. Delete it and reinsert with the box ticked — or insert a TIME field through Quick Parts > Field.
- The time is stale on a printout. Fields update on demand, not continuously. Update with F9 before printing, or turn on 'Update fields before printing' in Options > Display.
- F9 does something else on my laptop. Function keys in media mode need Fn: use Fn + F9. Right-click > Update Field does the same job without the keyboard.
- The format shows letters instead of numbers. The \@ pattern is being read literally — usually a missing quote or a pattern typed outside the field code. Re-pick the format through Edit Field rather than repairing the code by hand.
- Alt + Shift + T inserted a time that looks wrong. That shortcut inserts a TIME field in the default format set in the Date and Time dialog. Change the format there once and choose Set as Default, and the shortcut follows it.
Related document tasks
-
Add a document property and show it in the text with a field in Word
Add a document property in Word and show it in the text with a field: set Title, Manager or Company under File > Info or Advanced Properties, insert it with Quick Parts > Document Property or a property field, and refresh fields after changes.
-
Insert a page count that excludes the cover page in Word
Insert a page count that excludes the cover page in Word: add Page X of Y, then replace the total with a calculated field that subtracts 1 from the document's total page count, built with Ctrl+F9 field braces and updated with F9.
-
Insert a date in Word that updates itself, and one that stays fixed
A letter template should show today's date every time you open it.
-
Crop a picture inside a Word document
Crop a picture inside a Word document: select the picture, use Picture Format, Crop, and drag the black handles. Crop to a shape or aspect ratio, undo a crop any time, and delete cropped areas when the hidden parts must really be gone.
Sources
- Microsoft Support, Insert today's date in a Word document — the Date and Time dialog, the Update automatically choice between text and field, and editing or updating a date field.
- Microsoft Support, List of field codes in Word — the Time field among Word's date and time fields, with links to each field's switches.
- Microsoft Support, Insert, edit, and view fields in Word — inserting fields, displaying codes vs results, updating, locking and unlinking fields.