'Declaration Public Function ToUniversalTime( _ ByVal local As System.Date _ ) As System.Date
public System.DateTime ToUniversalTime( System.DateTime local )
Parameters
- local
- The local time to convert.
Return Value
The UTC DateTime.
'Declaration Public Function ToUniversalTime( _ ByVal local As System.Date _ ) As System.Date
public System.DateTime ToUniversalTime( System.DateTime local )
Exception | Description |
---|---|
System.NotSupportedException | Thrown if the method failed due to missing platform support. |