TIME [\@ "Date-Time Picture"] |
Inserts the current time. Microsoft Word inserts a TIME field when you click Insert Time on the Header and Footer toolbar. Unless you specify a date-time picture switch, the time is displayed in the format specified as part of the regional settings in Microsoft Windows Control Panel. |
Date-time picture | ?? |
switches | |
\@ "Date-Time Picture" | Specifies a date and time format other than the default If you select a format in the Field dialog box (Field command, Insert menu), Word inserts a corresponding date-time picture switch. |
REMARKS |
* When you use the Date and Time command (Insert menu) and select the Update Automatically check box, Word inserts a TIME field. Depending on the format you select, Word uses a date-time picture switch to display the current time or date or both. For example, if you select "10/12/95 10:11AM" in the Date and Time dialog box, Word inserts the field { TIME \@ "MM/dd/yy h:mm AM/PM" }. * To use a format that's not shown in the Field dialog box, click Field Codes and type the format switch directly in the Field code box. Learn more about date-time picture switches. * For the Microsoft documentation refer to support.microsoft.com |
Examples |
{ TIME \@ "dd-mm-yyyy am/pm" } |
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top