This function returns an offset in minutes from UTC (Universal Time Coordinate) for your time zone.
The offset is based upon UTC, which is the time standard used since 1972, and not GMT, which was the previous standard.
None.
Return value: offset
Type: long
Description: This returns the current
time zone offset from UTC for the time zone set on your HomeSeer computer.
hs.WriteLog "TimeZone","My timezone offset here in Eastern Daylight Time from UTC is " & CStr(hs.LocalTimeZone / 60) & " hours."
Results in this being written to the log:
4/14/2004 3:00:00 PM~!~TimeZone~!~My timezone offset here in Eastern Daylight Time from UTC is 5 hours.