ITimeZone::get_DaylightInstance

Send Feedback

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

Syntax

HRESULT get_DaylightInstance(
  long * plInstance
);

Parameters

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

Return Values

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.

Remarks

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.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: pimstore.h
Library: pimstore.lib

See Also

ITimeZone | Pocket Outlook Object Model API Interfaces | Pocket Outlook Object Model API Enumerations

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.