ITimeZone::get_DaylightDate

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The DaylightDate property gets the date that a time zone enters daylight-saving time. Usage depends on whether this is an absolute date, such as April 5, or a relative date, such as the first Sunday in April.

Syntax

HRESULT get_DaylightDate(
  DATE * pDate
);

Parameters

  • pDate
    [out] Reference to the date object that defines the date that a time zone enters daylight-saving time. For information on the DATE type, see IPOutlookApp::VariantTimeToSystemTime. For information on the SYSTEMTIME structure, see SYSTEMTIME.

Return Value

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

  • If IsDaylightAbsoluteDate is TRUE, ignore the year.
  • If IsDaylightAbsoluteDate is FALSE, use only hours, minutes, and seconds.

DaylightDate is undefined if SupportsDST is FALSE.

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Pocket Outlook Object Model Interfaces

Other Resources

Pocket Outlook Object Model Enumerations