Application:getTimeZone

From GiderosMobile

Available since: Gideros 2026.1
Class: Application

Description

Returns the IANA Time Zone IDs.

(string) = application:getTimeZone()

Return values

Returns (string) the time zone identifier representing the system current time zone

Most systems will return a primary time zone identifier such as "America/New_York" , though offset time zone identifier such as "-04:00" is possible too.

Example

local tz = application:getTimeZone()
print(tz) -- "America/New_York"

See also

For more information please check: