Sujet : Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.cryptDate : 15. Jun 2024, 16:52:21
Autres entêtes
Organisation : ℭ𝔥𝔦𝔣𝔣𝔯𝔢𝔭𝔲𝔫𝔨𝔰
Message-ID : <v4kdbn$2qe5$1@i2pn2.org>
References : 1 2 3 4 5 6 7 8
Cri-Cri wrote:
On Thu, 13 Jun 2024 20:33:51 +0200, Stefan Claas wrote:
No ... but here is a bash script, written by Bing AI, which allows you
to enter with -h hex values, or with -d decimal values and prints to
stdout all timezones. :-)
A similar thing for Python:
https://pynative.com/list-all-timezones-in-python/
With a little work I'm sure it's possible to do something like that AI
thing. Just for fun, here is the number of timezones it has listed:
len(pytz.all_timezones)
596
Interesting, my program has 597.
Many are, apparently, not even in use. :) I suppose they are there for
historical reasons. Possibly future use.
I don't know. I just included all of them. ;-)
https://github.com/stefanclaas/hex2date-- RegardsStefan