This function sets the current state of daylight savings time.
At a Glance
Header file: | Winbase.h |
Windows CE versions: | 2.0 and later |
Syntax
void SetDaylightTime( DWORD dst );
Parameters
dst
Integer that indicates whether or not day light savings time is in effect. A value of 1 indicates that daylight savings time is in effect; a value of 0 indicates that standard time is in effect.
Return Values
None.
Remarks
Windows CE does not automatically correct the time to account for daylight savings time. To enable Windows CE to correctly calculate the time, call this function with dst set to 1 when daylight savings time begins; call it with dst set to 0 when it ends.
See Also