Function : Time

OSCurrentTimeZone - Get current time zone and daylight saving state.
----------------------------------------------------------------------------------------------------------

#include <ostime.h>

void LNPUBLIC OSCurrentTimeZone(
int far *retZone,
int far *retDST);

Description :

This function gets the current time zone and daylight savings time state. It is a more convenient method than OSGetIntlSettings, but both functions return the same values for time zone and daylight savings time state. A NULL may be used for either argument if only one value is desired.

Parameters :

Sample Usage :


  OSCurrentTimeZone(&zone_num, &ifdst);


See Sample Program :

See Also :

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