TimeZones

Typehandler
Dictionarylibrary.timezone
LibraryTime zone Library
Syntax
TimeZones()
Associationscom.livecode.library.timezone
Summary

List the time zones used by the Time zone library

Platformsmobile, desktop
Example
-- List all time zones and their times
local tList, tTime, tData
put the seconds into tTime
repeat for each line tLine in TimeZones()
   put tLine & tab & FromUniversalTime(tTime, tLine) into tData
   if tList is empty then
      put tData into tList
   else
      put tData & return after tList
   end if
end repeat
Values
NameTypeDescription
return

A list of time zones, one per line.

RelatedHandler: ToUniversalTime, FromUniversalTime
Description

Use the TimeZones function to find a list of valid timezones used by ToUniversalTime and FromUniversalTime,

Tagsdatetime,library