TimeZone: GetUtcOffset

GetUtcOffset

Returns the offset from UTC to the current timezone, adjusting for daylight saving.



 Public Function GetUtcOffset(
	  ByRef Time As Variant ) As TimeSpan

Parameters

Time
[ByRef] Variant. The time to get the offset for.

Return Values

TimeSpan -  The offset from the time to UTC.

See Also

Project CorLib Overview

Class TimeZone Overview