This documentation is archived and is not being maintained.

CustomTimeZone::GetUtcOffset Method

Returns the Coordinated Universal Time (UTC) offset for the specified local time.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public:
virtual TimeSpan GetUtcOffset(
	DateTime time
) override

Parameters

time
Type: System::DateTime

A date and time value.

Return Value

Type: System::TimeSpan
The Coordinated Universal Time (UTC) offset from Time

Show: