MSDN Library
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.

ITimeZone::get_DaylightInstance

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

The DaylightInstance property gets the week of the month (1 to 5, inclusive) in which the change to daylight-saving time occurs.


HRESULT get_DaylightInstance(
  long * plInstance
);

plInstance

[out] Reference to the week of the month, a value between 1 and 5, inclusive.

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK

The method completed successfully.

A value of 5 always represents the last week, even if the month does not have five weeks.

DaylightInstance is undefined if SupportsDST is FALSE.

Headerpimstore.h
LibraryPimstore.lib
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2016 Microsoft