'Declaration Public Function ToLocalTime( _ ByVal dateTime As System.Date _ ) As System.Date
public System.DateTime ToLocalTime( System.DateTime dateTime )
Parameters
- dateTime
- The UTC time to convert.
Return Value
The local time.
'Declaration Public Function ToLocalTime( _ ByVal dateTime As System.Date _ ) As System.Date
public System.DateTime ToLocalTime( System.DateTime dateTime )
Exception | Description |
---|---|
System.ArgumentException | The Kind property of dateTime is Local. |