C1.Web.Wijmo.Controls.45 Assembly / C1.C1Schedule Namespace / TimeZoneInfo Class / ToUniversalTime Method
The local time to convert.

ToUniversalTime Method
Converts the value of the local time to UTC time. Note that there may be different possible interpretations at the daylight time boundaries.
Syntax
'Declaration
 
Public Function ToUniversalTime( _
   ByVal local As System.Date _
) As System.Date
 

Parameters

local
The local time to convert.

Return Value

The UTC DateTime.
Exceptions
ExceptionDescription
Thrown if the method failed due to missing platform support.
See Also