Deutsch English Français Italiano |
<v4m52o$4p1d$1@i2pn2.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: Stefan Claas <pollux@tilde.club> Newsgroups: sci.crypt Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-) Date: Sun, 16 Jun 2024 09:43:19 +0200 Organization: =?UTF-8?b?4oSt8J2UpfCdlKbwnZSj8J2Uo/CdlK/wnZSi8J2UrfCdlLLwnZSr8J2UqA==?= =?UTF-8?b?8J2UsA==?= Message-ID: <v4m52o$4p1d$1@i2pn2.org> References: <v49m0j$3m1d4$1@i2pn2.org> <bg0aO.416$CPG7.345@fx03.ams4> <v4a9ej$172l3$1@dont-email.me> <RykaO.11758$ujOb.8153@fx16.ams4> <v4craa$3preo$1@i2pn2.org> <qsGaO.27099$CPG7.681@fx03.ams4> <v4fe2g$3su2t$1@i2pn2.org> <kr1bO.52972$ujOb.17242@fx16.ams4> <v4kdbn$2qe5$1@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Sun, 16 Jun 2024 07:43:20 -0000 (UTC) Injection-Info: i2pn2.org; logging-data="156717"; mail-complaints-to="usenet@i2pn2.org"; posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U"; Finger: tilde.club/~pollux/ X-Spam-Checker-Version: SpamAssassin 4.0.0 Bytes: 2803 Lines: 52 Stefan Claas wrote: > 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 > I have another program, which calculates the weekdays of your birthdays. :-) $ bdates -tz Europe/Berlin 2020-xx-xx 2030-xx-xx The birthday in the year 2020 was on a Monday The birthday in the year 2021 was on a Tuesday The birthday in the year 2022 was on a Wednesday The birthday in the year 2023 was on a Thursday The birthday in the year 2024 was on a Saturday The birthday in the year 2025 is on a Sunday The birthday in the year 2026 is on a Monday The birthday in the year 2027 is on a Tuesday The birthday in the year 2028 is on a Thursday The birthday in the year 2029 is on a Friday The birthday in the year 2030 is on a Saturday and so on. https://github.com/stefanclaas/bdate I wonder what else can be done with the Linux 'date' command. :-) -- Regards Stefan