TimeZone: GetUtcOffset

GetUtcOffset

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



 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.

Remarks

See Also

Project VBCorLib Overview Class TimeZone Overview TimeZone Properties TimeZone Methods GetHashCode IObject