Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEdecipherserialdate

VOID PEdecipherserialdate (DOUBLE* lpDate, TM* lpTM, INT nType)

 

DOUBLE* 

lpDate

Pointer to double that holds date to decode.

TM* 

lpTM

Pointer to TM struct.

INT 

nType

1=VB, 2=DELPHI v1 compatibility.

 

This function takes the date/time formatted double precision number pointed to by lpDate with compatibility defined by nType and fills the TM structure pointed to by lpTM.

 

Returns

No return value.

 

Comments

This function will most likely be used to convert date/time formatted information returned via GRAPHLOC.

 

VBs and Delphi2's date/time format defines the number of days since 12/31/1899. Delphi1s date/time format defines the number of days since 1/1/0001. In both cases, the fractional portion represents the fraction of a day.

 

See Also: PEcreateserialdate, DateTimeMode, and TM.

 

Visual Basic and Delphi users will not have to use this function. Visual Basic and Delphi have functions to convert/produce date/time values. Visual Basic has a Date type variable and Delphi uses a TDateTime variable. These are compatible with ProEssentials.