System::TimeZone::GetUtcOffset method

TimeZone::GetUtcOffset method

Returns the UTC offset for the specified local time.

virtual TimeSpan System::TimeZone::GetUtcOffset(DateTime time)=0
ParameterTypeDescription
timeDateTimeThe time to calculate the UTC offset for

ReturnValue

The UTC offset for the specified local time

See Also