PDF files seem to have a separate set of file properties which contain (among others) a creation date and a modified date (see screenshot here: http://ventajamarketing.com/writingblog/wp-content/uploads/2012/02/Acrobat-Document-Properties1-300×297.png).
Those date obviously can differ from the creation and modified date shown in the file system (Windows Explorer).
How can I access the date information in the PDF file and read it out in Windows 7
with Windows PowerShell
(or maybe another method)?
Best Answer
You can read a PDF file (at least you can in newer formats) as though it were text. You will find an embedded XML section that uses the Adobe XMP schema. This contains the metadata you need.
Here is an example:
The following example will retrieve the create date:
Which returns something like:
Getting to the exact data:
Which returns: