GetUtcOffsetNoThrow()

TimeZoneInfo::GetUtcOffsetNoThrow(DateTime) const method

Calculates difference between time in this time zone and UTC time zone for a specified date and time. FOR INTERNAL USE.

TimeSpan System::TimeZoneInfo::GetUtcOffsetNoThrow(DateTime date_time) const

Arguments

ParameterTypeDescription
date_timeDateTimeDate and time.

Return Value

Time difference between time zones.

See Also