Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetDynamicTimeZoneInformationEffectiveYears function

Gets a range, expressed in years, for which a DYNAMIC_TIME_ZONE_INFORMATION has valid entries. Use the returned value to identify the specific years to request when calling GetTimeZoneInformationForYear to retrieve time zone information for a time zone that experiences annual boundary changes due to daylight saving time adjustments.

Syntax


DWORD WINAPI GetDynamicTimeZoneInformationEffectiveYears(
  _In_  const PDYNAMIC_TIME_ZONE_INFORMATION lpTimeZoneInformation,
  _Out_       LPDWORD                        FirstYear,
  _Out_       LPDWORD                        LastYear
);

Parameters

lpTimeZoneInformation [in]

Specifies settings for a time zone and dynamic daylight saving time.

FirstYear [out]

The year that marks the beginning of the range.

LastYear [out]

The year that marks the end of the range.

Return value

The range to pass to GetTimeZoneInformationForYear.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

Winbase.h (include Windows.h)

Library

Advapi32.lib

DLL

Advapi32.dll

See also

EnumDynamicTimeZoneInformation
DYNAMIC_TIME_ZONE_INFORMATION

 

 

Show:
© 2016 Microsoft