This documentation is archived and is not being maintained.
CustomTimeZone::ToUniversalTime Method
Visual Studio 2013
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)
Parameters
- time
- Type: System::DateTime
A date and time.
Return Value
Type: System::DateTimeA DateTime object whose value is the Coordinated Universal Time (UTC) that corresponds to time.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: