[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

CREATEDATE

Syntax:

CREATEDATE [ switches ]

Description: Retrieves the date and time at which the document was created, as recorded in the DateCreated element of the Core File Properties part. By default, the Gregorian calendar is used and the date-and-time-formatting-switch used is implementation-defined.

Field Value: The date and time at which the document was created.

Switches: Zero or one date-and-time-formatting-switch and zero or one of the following field-specific-switches.

\h

Use the Hijri/Lunar calendar.

\s

Use the Saka Era calendar.

[Example: Consider the case in which the DateCreated element is as follows:

   <DateCreated>2006-01-05T03:31:00Z</DateCreated>

and the following fields are updated in a US-English context that is UTC -5:

CREATEDATE
CREATEDATE \@ "dddd, MMMM dd, yyyy HH:mm:ss"
CREATEDATE \@ "dddd, MMMM dd, yyyy HH:mm:ss" \h
CREATEDATE \@ "dddd, MMMM dd, yyyy HH:mm:ss" \s

the results are:

1/4/2006 10:31:00 PM
Wednesday, January 04, 2006 22:31:00
AlArbia'a, Thoul Hijjah 04, 1426 22:31:00
Budhavara, Pausa 14, 1927 22:31:00

end example]