System::TimeZoneInfo::IsDaylightSavingTime method

TimeZoneInfo::IsDaylightSavingTime(const DateTimeOffset&) const method

Checks if specified date and time falls in range of daylight saving time.

bool System::TimeZoneInfo::IsDaylightSavingTime(const DateTimeOffset &date_time_offset) const
ParameterTypeDescription
date_time_offsetconst DateTimeOffset&Date and Time.

ReturnValue

True if date_time is a daylight saving time.

See Also

TimeZoneInfo::IsDaylightSavingTime(DateTime) const method

Checks if specified date and time falls in range of daylight saving time.

bool System::TimeZoneInfo::IsDaylightSavingTime(DateTime date_time) const
ParameterTypeDescription
date_timeDateTimeDate and Time.

ReturnValue

True if date_time is a daylight saving time.

See Also