Appendix A
Dates

A.1 PDF Date Format

Dates in PDF are specified according to the following format:

D:YYYYMMDDHHmmSSOHHmm

where:

A contiguous prefix of the parts above can be used instead, for lower accuracy dates. For example:

D:2014 (2014)

D:20140103 (3rd January 2014)

D:201401031854-0800 (3rd January 2014, 6:54PM, US Pacific Standard Time)

A.2 XMP Metadata Date Format

These are the possible data formats for -set-metadata-date:

YYYY
YYYY-MM
YYYY-MM-DD
YYYY-MM-DDThh:mmTZD
YYYY-MM-DDThh:mm:ssTZD

where:

YYYY   year
MM     month (01 =Jan)
DD     dayofm onth(01to 31)
hh     hour(00to23)
mm     minute(00to59)
ss     second (00to59)
TZD    time zonedesignato r(Z or+hh:mm  or-hh::mm )