This documentation is archived and is not being maintained.

CustomTimeZone::ToUniversalTime Method

Returns the Coordinated Universal Time (UTC) that corresponds to a specified time.

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

public:
virtual DateTime ToUniversalTime(
	DateTime time
) override

Parameters

time
Type: System::DateTime

A date and time.

Return Value

Type: System::DateTime
A DateTime object whose value is the Coordinated Universal Time (UTC) that corresponds to time.

Show: