GetTimeZoneCount
- Last UpdatedOct 29, 2026
- 1 minute read
This function gets the number of available time zones on the local computer.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetTimeZoneCount |
Date and Time |
Synchronous |
Yes |
Supported |
Supported |
Not supported |
Supported |
Executed on Server |
Syntax
GetTimeZoneCount()
GetTimeZoneCount ( )
This function has no parameters.
Returned value
This function returns the number of available time zones on the local computer, depending on where the function is called from (that is, the project runtime or the Viewer module / thin client).
Notes
The list of available time zones varies by operating system version and configuration. If necessary, you can use this function in combination with the function GetTimeZone to generate a list that is specific to your computer.
If this function is called in a project screen on Mobile Access, it is executed using the system clock and date/time settings on the computer that hosts the project runtime server.