Function : Time

TimeGMToLocal - Convert TIMEDATE to year, month, day, etc..
----------------------------------------------------------------------------------------------------------

#include <misc.h>

BOOL LNPUBLIC TimeGMToLocal(
TIME far *Time);

Description :

This function takes a TIME structure, converts the .GM member (binary TIMEDATE) into its constituent components, and assigns those values to the appropriate integer members of the same TIME structure.

It is useful in bridging to data structures required by Operating Systems or 'C' library time/date functions or in the process of converting a TIMEDATE value from one time zone to its equivalent value in an other time zone.

Parameters :

Sample Usage :

time_oid.GM = note_created_td;
if (TimeGMToLocal(&time_oid))
  goto Exit;


See Also :

TimeLocalToGM
----------------------------------------------------------------------------------------------------------