PRINTDATE

Syntax:

PRINTDATE [ switches ]

Description: Retrieves the date and time on which the document was last printed, as recorded in the <LastPrinted> 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. For a document that has never been printed, the date and time corresponds to 0000-00-00T00:00:00 local time and each text component is XXX.

Field Value: The date and time on which the document was last printed.

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:
<LastPrinted>2006-01-06T19:58:00Z</LastPrinted>

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

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

the results are:

1/6/2006 2:58:00 PM
Friday, January 06, 2006 14:58:00

For a document that has never been printed, the result is:

0/0/0000 0:00:00 AM
XXX, XXX 00, 0000  00:00:00