Home > Language Reference > Classes > SystemInfo
TimeZone Property
Time zone.
Syntax
Public Property Get TimeZone() As Integer
Remarks
The TimeZone property returns the time zone, given as the number of minutes east of UTC. For time zones west of UTC before the international dateline, this is a negative number. The returned value does not take any daylight saving adjustment into account. To determine whether daylight saving time applies or not, call the DaylightSavingAdjustment property.
You can convert any given date from local time to UTC using the following expression:
Dim utc As Date, local As Date Dim si As SystemInfo si = SystemInfo utc = local - CDbl(si.TimeZone + si.DaylightSavingAdjustment) / 1440.0
Palm OS handles time zones starting with version 4.0; on earlier devices, this property returns 0.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 4.0 | N/A |