Date and ModDate not correct

  • It appears that the default date used for Info.Date and Info.ModDate for wpdfExport 2.61 is not correct.

    When viewed by Acrobat 7.0.5, the dates are coverted to local time. So if I really created a PDF doc at 12pm my local time (GMT-7), Acrobat shows the creation and modified time as 5am. Not sure where the time is converted... at the reader end or at the creation end.

    If I convert local time to UTC time and set the Date and ModDate myself using the UTC time, Acrobat displays the time correctly.

    Code
    function GetUTCTime: TDateTime;var  SysTime : TSystemTime;begin  GetSystemTime(SysTime);  Result := SystemTimeToDateTime(SysTime);end;

    and

    Code
    with WPPDFExport1 do
              begin
                Info.Date := GetUTCTime;
                Info.ModDate := Info.Date;
              end;


    Eric