TimeZone: ToUniversalTime

ToUniversalTime

Returns the local time with UTC offset removed to get the UTC time.



 Public Function ToUniversalTime(
	  ByRef Time As Variant ) As cDateTime

Parameters

Time
[ByRef] Variant. The local time to have the UTC offset removed.

Return Values

cDateTime -  The UTC time converted from the local time.

Remarks

See Also

Project VBCorLib Overview Class TimeZone Overview TimeZone Properties TimeZone Methods ToString