Home General

PDF creation date

edited April 2010 in General
Hi,

I am running in an issue with the PDF Creation Date. I am not sure, but it
looks that the date should be in UTC time and not just "now"? Currently the
date differs between file creation time and PDF-Creation time with exactly 2
hours (Germany is UTC + 1 (plus currently 1 hour Daylight Saving Time).

Further more. I can set all information in the PDF Settings but not the
Creation Date. Is there a way to do this (without hacking ppPDFSettings and
ppPDFInfo.pas)?

Greetings from Germany
Sven

RB 11.07, RAD Studio 2010

Comments

  • edited April 2010
    Hi Sven,

    If you look at the CreationDate routine inside the ppPDFInfo.pas file, you
    will see that it simply makes a call to the Delphi Now() routine (which in
    turn calls the Windows API function GetLocalTime). Are you perhaps running
    on a server that is in a different location or incorrect time? I'm not sure
    how else this could be coded to work :).

    Unfortunately it is not currently possible to manually edit the CreationDate
    value in the PDF device without altering the ppPDFInfo.pas code.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.