Appendix A
Dates
A.1 PDF Date Format
Dates in PDF are specified according to the following format:
D:YYYYMMDDHHmmSSOHHmm
where:
- YYYY is the year;
- MM is the month;
- DD is the day (01-31);
- HH is the hour (00-23);
- mm is the minute (00-59);
- SS is the second (00-59);
- O is the relationship of local time to Universal Time (UT), denoted by ’+’, ’-’ or ’Z’;
- HH is the absolute value of the offset from UT in hours (00-23);
- mm is the absolute value of the offset from UT in minutes (00-59).
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: