Timezone Library
The Timezone library serves as a table of all available timezones mapped to offsets from UTC time. #Loading the Timezone Library

The Timezone library is optional. In order to use this library, you must require it in one of your source files (preferably main.lua) prior to use. It only needs to be required once in a single file. It is recommended you do this at the top of your main.lua file, outside of any functions or other code, and you may do this by using this code:

Example: require 'timezone';
#Example Example: require 'timezone'; require 'timestamp'; print("Time in Eastern Standard Time: ", Timestamp:now():toHuman(timezone.EST)); #Available Timezones
timezone.ACDT
timezone.ACST
timezone.ACT
timezone.ADT
timezone.AEDT
timezone.AEST
timezone.AFT
timezone.AKDT
timezone.AKST
timezone.AMSTAmazon Summer Time (Brazil)
timezone.AMST2Armenia Summer Time
timezone.AMTAmazon Time (Brazil)
timezone.AMT2Armenia Time
timezone.ART
timezone.ASTAtlantic Standard Time
timezone.AST2Arabia Standard Time
timezone.AWDT
timezone.AWST
timezone.AZOST
timezone.AZT
timezone.BDT
timezone.BIOT
timezone.BIT
timezone.BOT
timezone.BRT
timezone.BSTBritish Standard Time
timezone.BST2Bangladesh Standard Time
timezone.BTT
timezone.CAT
timezone.CCT
timezone.CDTCentral Daylight Time (US)
timezone.CDT2Cuba Daylight Time
timezone.CEDT
timezone.CEST
timezone.CET
timezone.CHADT
timezone.CHAST
timezone.CHOT
timezone.CHST
timezone.CHUT
timezone.CIST
timezone.CIT
timezone.CKT
timezone.CLST
timezone.CLT
timezone.COST
timezone.COT
timezone.CSTCentral Standard Time (US)
timezone.CST2China Standard Time
timezone.CST3Central Standard Time (Australia)
timezone.CST4Central Summer Time (Australia)
timezone.CT
timezone.CVT
timezone.CWST
timezone.CXT
timezone.DAVT
timezone.DDUT
timezone.DFT
timezone.EASST
timezone.EAST
timezone.EAT
timezone.ECT
timezone.ECT2
timezone.EDT
timezone.EEDT
timezone.EEST
timezone.EET
timezone.EGST
timezone.EGT
timezone.EIT
timezone.ESTEastern Standard Time (US)
timezone.EST2Eastern Standard Time (Australia)
timezone.FET
timezone.FJT
timezone.FKSTNote; there's two FKST, but both have the same offset anyways
timezone.FKT
timezone.FNT
timezone.GALT
timezone.GAMT
timezone.GET
timezone.GFT
timezone.GILT
timezone.GIT
timezone.GMT
timezone.GSTSouth Georgia and the South Sandwich Islands
timezone.GST2Gulf Standard Time
timezone.GYT
timezone.HADT
timezone.HAEC
timezone.HAST
timezone.HKT
timezone.HMT
timezone.HOVT
timezone.HST
timezone.ICT
timezone.IDT
timezone.IOT
timezone.IRDT
timezone.IRKT
timezone.IRST
timezone.ISTIndian Standard Time
timezone.IST2Irish Standard Time
timezone.IST3Israel Standard Time
timezone.JST
timezone.KGT
timezone.KOST
timezone.KRAT
timezone.KST
timezone.LHSTLord Howe Standard Time
timezone.LHST2Lord Howe Summer Time
timezone.LINT
timezone.MAGT
timezone.MART
timezone.MAWT
timezone.MDT
timezone.MET
timezone.MEST
timezone.MHT
timezone.MIST
timezone.MIT
timezone.MMT
timezone.MSK
timezone.MSTMountain Standard Time (US)
timezone.MST2Malaysia Standard Time
timezone.MST3Myanmar Standard Time
timezone.MUT
timezone.MVT
timezone.MYT
timezone.NCT
timezone.NDT
timezone.NFT
timezone.NPT
timezone.NST
timezone.NT
timezone.NUT
timezone.NZDT
timezone.NZST
timezone.OMST
timezone.ORAT
timezone.PDT
timezone.PET
timezone.PETT
timezone.PGT
timezone.PHOT
timezone.PKT
timezone.PMDT
timezone.PMST
timezone.PONT
timezone.PST
timezone.PST2
timezone.PYST
timezone.PYT
timezone.RET
timezone.ROTT
timezone.SAKT
timezone.SAMT
timezone.SAST
timezone.SBT
timezone.SCT
timezone.SGT
timezone.SLST
timezone.SRET
timezone.SRT
timezone.SST
timezone.SST2
timezone.SYOT
timezone.TAHT
timezone.THA
timezone.TFT
timezone.TJT
timezone.TKT
timezone.TLT
timezone.TMT
timezone.TOT
timezone.TVT
timezone.UCT
timezone.ULAT
timezone.USZ1
timezone.UTC
timezone.UYST
timezone.UYT
timezone.UZT
timezone.VET
timezone.VLAT
timezone.VOLT
timezone.VOST
timezone.VUT
timezone.WAKT
timezone.WAST
timezone.WAT
timezone.WEDT
timezone.WEST
timezone.WET
timezone.WIT
timezone.WST
timezone.YAKT
timezone.YEKT
timezone.Z

Page last updated at 2018-10-05 18:36:42


Copyright 2018