SetDaylightTime
A version of this page is also available for
4/8/2010
This function sets the current state of daylight saving time.
Syntax
void SetDaylightTime(
DWORD dst
);
Parameters
Dst
[in] Integer that indicates whether or not day light savings time is in effect.A value of 1 indicates that daylight saving time is in effect.
A value of zero indicates that standard time is in effect.
Return Value
None.
Remarks
To retrieve the current time zone state call GetTimeZoneInformation.
Requirements
Header | winbase.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
Time Functions
GetTimeZoneInformation