Partager via


SetDaylightTime (Compact 2013)

3/28/2014

This function sets the current state of daylight saving time. This function has been deprecated.

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

See Also

Reference

Time Functions
GetTimeZoneInformation
Daylight Saving Time Registry Settings

Other Resources

Timer Driver Reference