[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

TIME

Syntax:

TIME [ switch ]

Description: Retrieves the current date and time. The Gregorian calendar is always used. By default, the date-and-time-formatting-switch used is implementation-defined.

Field Value: The current date and time.

Switches: Zero or one date-and-time-formatting-switch.

[Example: Consider the case in which the following fields are updated on the given date and time:

TIME
TIME \@ "dddd, MMMM dd, yyyy HH:mm:ss"

the results are:

1:59 PM
Friday, January 06, 2006 13:59:421/5/2006

end example]

[Note: For some date-and-time-formatting-switches, the DATE (ยง2.16.5.18) and TIME fields can produce the same result. end note]