17.16.5.47 PRINTDATE
17.16.5.47 PRINTDATE
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-
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 or Hebrew Lunar calendar, depending on the language specified by the lang element (17.3.2.20).
\s
Use the Saka Era calendar.
[_Example_: Consider the case in which the LastPrinted element is as follows:
<LastPrinted>2006-01-06T19:58:00Z</LastPrinted>
and the following fields are updated in a US-English context that is UTC -5:
PRINTDATE
PRINTDATE \@ "dddd, MMMM dd, yyyy
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
end example]
Syntax:
Last updated on