GetUtcOffset()

TimeZone::GetUtcOffset(DateTime) method

Returns the UTC offset for the specified local time.

virtual TimeSpan System::TimeZone::GetUtcOffset(DateTime time)=0

Arguments

ParameterTypeDescription
timeDateTimeThe time to calculate the UTC offset for

Return Value

The UTC offset for the specified local time

See Also