The SetDaylightTime function sets the current state of daylight savings time.
void SetDaylightTime(DWORD dst);
| Header file: | Winbase.h |
| Module: | Nk |
| Platforms: | H/PC |
| Windows CE versions: | 2.0 and later |
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.