lua-users home
lua-l archive

Listing all timezones

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello everyone!

Is there a way of natively listing all the timezones available? Something corresponding to the python code below:

/////////////////
import pytz

for tz in pytz.all_timezones:
print (tz)

print(len(pytz.common_timezones))
print(len(pytz.all_timezones))
////////////////

Thanks in advance.

Regards,
ST


AltStyle によって変換されたページ (->オリジナル) /