Parse a document info field as a date.
getInfoDate([in] BSTR field, [out] SHORT *year, [out] SHORT *month, [out] SHORT *day, [out] SHORT *hour, [out] SHORT *minute, [out] SHORT *second)
This function retrieves the value of an info field, parsed as a date (in the encoding format defined by the PDF specification).

This function throws an error if the requested entry doesn't exist in the info dictionary or couldn't be parsed as a date.

Dim year As Short, month As Short, day As Short Dim hour As Short, minute As Short, second As Short pdf.getInfoDate "CreationDate", year, month, day, hour, minute, second