Function

CertDateTime

Module

XuDsigU

Last Modified

7/15/2014 3:26:44 PM

Comments

To convert to printable string use
 DateTimeToStr  or DateTimeToString

Scope

Interfaced

Declaration

function CertDateTime(CertTime: FileTime): TdateTime;


Source

29    function CertDateTime(CertTime: FileTime): TdateTime;
30    var
31        sysDateTime: TSystemTime;
32        dDateTime: TdateTime;
33        //To convert to printable string use
34        // DateTimeToStr  or DateTimeToString
35    begin
36        FileTimeToSystemTime(CertTime, sysDateTime);
37        dDateTime := systemTimeToDateTime(sysDateTime);
38        Result := dDateTime;
39    end;