Windows Mobile 6.5
A version of this page is also available for

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.

HRESULT get_DaylightDate(
  DATE * 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.

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


The method completed successfully.

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

DaylightDate is undefined if SupportsDST is FALSE.

Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions