Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

A gift of a flower will soon be made to you.


sci / sci.crypt / Re: [OT] Unix Time Stamp - Independence Day 2025 :-)

SubjectAuthor
* [OT] Unix Time Stamp - Independence Day 2025 :-)Stefan Claas
`* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Cri-Cri
 `* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Richard Harnden
  +* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Cri-Cri
  |`* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Stefan Claas
  | `* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Cri-Cri
  |  `* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Stefan Claas
  |   +* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Cri-Cri
  |   |`* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Stefan Claas
  |   | `* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Stefan Claas
  |   |  `* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Cri-Cri
  |   |   +- Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Stefan Claas
  |   |   `- Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Jakob Bohm
  |   `* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Stefan Claas
  |    `* Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Cri-Cri
  |     `- Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Stefan Claas
  `- Re: [OT] Unix Time Stamp - Independence Day 2025 :-)Chris M. Thomasson

1
Subject: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Stefan Claas
Newsgroups: sci.crypt
Organization: i2pn2 (i2pn.org)
Date: Tue, 11 Jun 2024 14:12 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Tue, 11 Jun 2024 16:12:33 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <v49m0j$3m1d4$1@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 11 Jun 2024 14:12:35 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3868068"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
X-Spam-Checker-Version: SpamAssassin 4.0.0
Finger: tilde.club/~pollux/
View all headers

$ echo -n '68686868' | hex2date
Friday, 04. July 2025 23:48:56 +0000 (UTC)

--
Regards
Stefan

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Cri-Cri
Newsgroups: sci.crypt
Organization: Easynews - www.easynews.com
Date: Tue, 11 Jun 2024 17:59 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx03.ams4.POSTED!not-for-mail
From: cri@cri.cri.invalid (Cri-Cri)
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Newsgroups: sci.crypt
References: <v49m0j$3m1d4$1@i2pn2.org>
MIME-Version: 1.0
x-hc-9: yes
x-no-archive: yes
User-Agent: Pan/0.157 (Mariinka; 7c3c6087)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 22
Message-ID: <bg0aO.416$CPG7.345@fx03.ams4>
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Tue, 11 Jun 2024 17:59:35 GMT
X-Received-Bytes: 1368
View all headers

On Tue, 11 Jun 2024 16:12:33 +0200, Stefan Claas wrote:

> $ echo -n '68686868' | hex2date Friday, 04. July 2025 23:48:56 +0000
> (UTC)

For those who don't have hex2date:

$ python -c "import datetime as dt;print(dt.datetime.fromtimestamp(int('68686868', 16)))"
2025-07-05 01:48:56

or:

$ python -c "import datetime as dt;print(dt.datetime.fromtimestamp(int('67676767', 16)))"
2024-12-22 02:12:07

or even funnier, the most evil day ever:

$ python -c "import datetime as dt;print(dt.datetime.fromtimestamp(int('66666666', 16)))"
2024-06-10 04:35:18

--
Cri-Cri

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Richard Harnden
Newsgroups: sci.crypt
Organization: A noiseless patient Spider
Date: Tue, 11 Jun 2024 19:44 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: richard.nospam@gmail.invalid (Richard Harnden)
Newsgroups: sci.crypt
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Tue, 11 Jun 2024 20:44:18 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <v4a9ej$172l3$1@dont-email.me>
References: <v49m0j$3m1d4$1@i2pn2.org> <bg0aO.416$CPG7.345@fx03.ams4>
Reply-To: nospam.harnden@invalid.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 11 Jun 2024 21:44:19 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9dd5243109b3b414906bda77e32da729";
logging-data="1280675"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kxcrw1Fm5Y/DhXkKDj+7nPGW8cuxC8DA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:EHiS2AY236NsjmM9j3MWSk2IO00=
Content-Language: en-US
X-Antivirus: AVG (VPS 240611-4, 6/11/2024), Outbound message
In-Reply-To: <bg0aO.416$CPG7.345@fx03.ams4>
X-Antivirus-Status: Clean
View all headers

On 11/06/2024 18:59, Cri-Cri wrote:
> On Tue, 11 Jun 2024 16:12:33 +0200, Stefan Claas wrote:
>
>> $ echo -n '68686868' | hex2date Friday, 04. July 2025 23:48:56 +0000
>> (UTC)
>
> For those who don't have hex2date:
>
> $ python -c "import datetime as dt;print(dt.datetime.fromtimestamp(int('68686868', 16)))"
> 2025-07-05 01:48:56
>
> or:
>
> $ python -c "import datetime as dt;print(dt.datetime.fromtimestamp(int('67676767', 16)))"
> 2024-12-22 02:12:07
>
> or even funnier, the most evil day ever:
>
> $ python -c "import datetime as dt;print(dt.datetime.fromtimestamp(int('66666666', 16)))"
> 2024-06-10 04:35:18
>

$ date -d @$((16#68686868))
Fri 4 Jul 23:48:56 UTC 2025

--
This email has been checked for viruses by AVG antivirus software.
www.avg.com

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Chris M. Thomasson
Newsgroups: sci.crypt
Organization: A noiseless patient Spider
Date: Tue, 11 Jun 2024 20:55 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: sci.crypt
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Tue, 11 Jun 2024 13:55:31 -0700
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <v4adk5$16s3t$6@dont-email.me>
References: <v49m0j$3m1d4$1@i2pn2.org> <bg0aO.416$CPG7.345@fx03.ams4>
<v4a9ej$172l3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 11 Jun 2024 22:55:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="af7387139eef2adaeed8a4c9aa891781";
logging-data="1273981"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/IhcDdAeefsEtzBB65U2T5ig1CtRDPJoA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:DP2A8X2Ncb0p4rgD+6MamkCiZnM=
In-Reply-To: <v4a9ej$172l3$1@dont-email.me>
Content-Language: en-US
View all headers

On 6/11/2024 12:44 PM, Richard Harnden wrote:
> On 11/06/2024 18:59, Cri-Cri wrote:
>> On Tue, 11 Jun 2024 16:12:33 +0200, Stefan Claas wrote:
>>
>>> $ echo -n '68686868' | hex2date Friday, 04. July 2025 23:48:56 +0000
>>> (UTC)
>>
>> For those who don't have hex2date:
>>
>> $ python -c "import datetime as
>> dt;print(dt.datetime.fromtimestamp(int('68686868', 16)))"
>> 2025-07-05 01:48:56
>>
>> or:
>>
>> $ python -c "import datetime as
>> dt;print(dt.datetime.fromtimestamp(int('67676767', 16)))"
>> 2024-12-22 02:12:07
>>
>> or even funnier, the most evil day ever:
>>
>> $ python -c "import datetime as
>> dt;print(dt.datetime.fromtimestamp(int('66666666', 16)))"
>> 2024-06-10 04:35:18
>>
>
> $ date -d @$((16#68686868))
> FriΒ  4 Jul 23:48:56 UTC 2025

The digit seven is missing, so close, lol...:

23:48:56 we have, [2, 3, 4, 5, 6, (missing), 8]

;^)

>
>
>

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Cri-Cri
Newsgroups: sci.crypt
Organization: Easynews - www.easynews.com
Date: Wed, 12 Jun 2024 17:04 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx16.ams4.POSTED!not-for-mail
From: cri@cri.cri.invalid (Cri-Cri)
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Newsgroups: sci.crypt
References: <v49m0j$3m1d4$1@i2pn2.org> <bg0aO.416$CPG7.345@fx03.ams4>
<v4a9ej$172l3$1@dont-email.me>
MIME-Version: 1.0
x-hc-9: yes
x-no-archive: yes
User-Agent: Pan/0.157 (Mariinka; 7c3c6087)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 12
Message-ID: <RykaO.11758$ujOb.8153@fx16.ams4>
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Wed, 12 Jun 2024 17:04:49 GMT
X-Received-Bytes: 1122
View all headers

On Tue, 11 Jun 2024 20:44:18 +0100, Richard Harnden wrote:

> $ date -d @$((16#68686868))
> Fri 4 Jul 23:48:56 UTC 2025

Interesting. Bash is a wonderful tool. :)

My Python version also works on that other system...which shall remain
nameless. ;)

--
Cri-Cri

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Stefan Claas
Newsgroups: sci.crypt
Organization: i2pn2 (i2pn.org)
Date: Wed, 12 Jun 2024 19:01 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Wed, 12 Jun 2024 21:01:30 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <v4craa$3preo$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 12 Jun 2024 19:01:30 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3993048"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
Finger: tilde.club/~pollux/
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

Cri-Cri wrote:

> On Tue, 11 Jun 2024 20:44:18 +0100, Richard Harnden wrote:
>
> > $ date -d @$((16#68686868))
> > Fri 4 Jul 23:48:56 UTC 2025
>
> Interesting. Bash is a wonderful tool. :)

Agreed. :-)
> My Python version also works on that other system...which shall remain
> nameless. ;)

My program works on fifty different platforms and I am
currently working to include all timezones, besides +0000 UTC. :-)

Africa is already finished.

$ echo -n '68686868' | go run hex2date.go -tz Africa
Time Zone Time
Africa/Abidjan 2025-07-04 23:48:56 GMT
Africa/Accra 2025-07-04 23:48:56 GMT
Africa/Addis_Ababa 2025-07-05 02:48:56 EAT
Africa/Algiers 2025-07-05 00:48:56 CET
Africa/Asmara 2025-07-05 02:48:56 EAT
Africa/Asmera 2025-07-05 02:48:56 EAT
Africa/Bamako 2025-07-04 23:48:56 GMT
Africa/Bangui 2025-07-05 00:48:56 WAT
Africa/Bangui 2025-07-05 00:48:56 WAT
Africa/Banjul 2025-07-04 23:48:56 GMT
Africa/Bissau 2025-07-04 23:48:56 GMT
Africa/Blantyre 2025-07-05 01:48:56 CAT
Africa/Brazzaville 2025-07-05 00:48:56 WAT
Africa/Bujumbura 2025-07-05 01:48:56 CAT
Africa/Cairo 2025-07-05 02:48:56 EEST
Africa/Casablanca 2025-07-05 00:48:56 +01
Africa/Ceuta 2025-07-05 01:48:56 CEST
Africa/Conakry 2025-07-04 23:48:56 GMT
Africa/Dakar 2025-07-04 23:48:56 GMT
Africa/Dar_es_Salaam 2025-07-05 02:48:56 EAT
Africa/Djibouti 2025-07-05 02:48:56 EAT
Africa/Douala 2025-07-05 00:48:56 WAT
Africa/El_Aaiun 2025-07-05 00:48:56 +01
Africa/Freetown 2025-07-04 23:48:56 GMT
Africa/Gaborone 2025-07-05 01:48:56 CAT
Africa/Harare 2025-07-05 01:48:56 CAT
Africa/Johannesburg 2025-07-05 01:48:56 SAST
Africa/Juba 2025-07-05 01:48:56 CAT
Africa/Kampala 2025-07-05 02:48:56 EAT
Africa/Khartoum 2025-07-05 01:48:56 CAT
Africa/Kigali 2025-07-05 01:48:56 CAT
Africa/Kinshasa 2025-07-05 00:48:56 WAT
Africa/Lagos 2025-07-05 00:48:56 WAT
Africa/Libreville 2025-07-05 00:48:56 WAT
Africa/Lome 2025-07-04 23:48:56 GMT
Africa/Luanda 2025-07-05 00:48:56 WAT
Africa/Lubumbashi 2025-07-05 01:48:56 CAT
Africa/Lusaka 2025-07-05 01:48:56 CAT
Africa/Malabo 2025-07-05 00:48:56 WAT
Africa/Maputo 2025-07-05 01:48:56 CAT
Africa/Maseru 2025-07-05 01:48:56 SAST
Africa/Mbabane 2025-07-05 01:48:56 SAST
Africa/Mogadishu 2025-07-05 02:48:56 EAT
Africa/Monrovia 2025-07-04 23:48:56 GMT
Africa/Nairobi 2025-07-05 02:48:56 EAT
Africa/Ndjamena 2025-07-05 00:48:56 WAT
Africa/Niamey 2025-07-05 00:48:56 WAT
Africa/Nouakchott 2025-07-04 23:48:56 GMT
Africa/Ouagadougou 2025-07-04 23:48:56 GMT
Africa/Porto-Novo 2025-07-05 00:48:56 WAT
Africa/Sao_Tome 2025-07-04 23:48:56 GMT
Africa/Timbuktu 2025-07-04 23:48:56 GMT
Africa/Tripoli 2025-07-05 01:48:56 EET
Africa/Tunis 2025-07-05 00:48:56 CET
Africa/Windhoek 2025-07-05 01:48:56 CAT

--
Regards
Stefan

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Cri-Cri
Newsgroups: sci.crypt
Organization: Easynews - www.easynews.com
Date: Thu, 13 Jun 2024 17:59 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!nntp.terraraq.uk!news1.firedrake.org!fnord.no!uucp.uio.no!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx03.ams4.POSTED!not-for-mail
From: cri@cri.cri.invalid (Cri-Cri)
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Newsgroups: sci.crypt
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>
MIME-Version: 1.0
x-hc-9: yes
x-no-archive: yes
User-Agent: Pan/0.157 (Mariinka; 7c3c6087)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 11
Message-ID: <qsGaO.27099$CPG7.681@fx03.ams4>
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Thu, 13 Jun 2024 17:59:50 GMT
X-Received-Bytes: 1195
View all headers

On Wed, 12 Jun 2024 21:01:30 +0200, Stefan Claas wrote:

> My program works on fifty different platforms and I am currently working
> to include all timezones, besides +0000 UTC. :-)

Does that include BCE? :)

Only Gregorian or Julian also? How about Mayan? :)

--
Cri-Cri

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Stefan Claas
Newsgroups: sci.crypt
Organization: i2pn2 (i2pn.org)
Date: Thu, 13 Jun 2024 18:33 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Thu, 13 Jun 2024 20:33:51 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <v4fe2g$3su2t$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 13 Jun 2024 18:33:53 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="4094045"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
Finger: tilde.club/~pollux/
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

Cri-Cri wrote:

> On Wed, 12 Jun 2024 21:01:30 +0200, Stefan Claas wrote:
>
> > My program works on fifty different platforms and I am currently working
> > to include all timezones, besides +0000 UTC. :-)
>
> Does that include BCE? :)
>
> Only Gregorian or Julian also? How about Mayan? :)
>

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. :-)

#!/bin/bash
# Assume the time is in decimal format by default
time_format="decimal"

# Check if arguments were passed
while getopts ":d:h:" opt; do
case $opt in
d)
epoch_time=$OPTARG
;;
h)
epoch_time=$((16#$OPTARG))
time_format="hex"
;;
\?)
echo "Invalid option: -$OPTARG" >&2
exit 1
;;
:)
echo "Option -$OPTARG requires an argument." >&2
exit 1
;;
esac
done

# Use the current time if no time was passed
if [ -z "$epoch_time" ]; then
epoch_time=$(date +%s)
fi

# Print the table header
printf "%-40s %s\n" "Timezone" "Local Time"
echo "---------------------------------------------------------------------"

# Write all available timezones to a file
timedatectl list-timezones > timezones.txt

# Output the local time for the passed Unix Epoch Time in each timezone
while IFS= read -r timezone
do
local_time=$(TZ=$timezone date -d "@$epoch_time" '+%a %b %d %Y %H:%M:%S %Z')
printf "%-40s %s\n" "$timezone" "$local_time"
done < timezones.txt

And here a sample run:

./tz.sh -h 68686868 > data.txt

data.txt:Timezone Local Time

---------------------------------------------------------------------

Africa/Abidjan Fri Jul 04 2025 23:48:56 GMT

Africa/Accra Fri Jul 04 2025 23:48:56 GMT

Africa/Addis_Ababa Sat Jul 05 2025 02:48:56 EAT

Africa/Algiers Sat Jul 05 2025 00:48:56 CET

Africa/Asmara Sat Jul 05 2025 02:48:56 EAT

Africa/Asmera Sat Jul 05 2025 02:48:56 EAT

Africa/Bamako Fri Jul 04 2025 23:48:56 GMT

Africa/Bangui Sat Jul 05 2025 00:48:56 WAT

Africa/Banjul Fri Jul 04 2025 23:48:56 GMT

Africa/Bissau Fri Jul 04 2025 23:48:56 GMT

Africa/Blantyre Sat Jul 05 2025 01:48:56 CAT

Africa/Brazzaville Sat Jul 05 2025 00:48:56 WAT

Africa/Bujumbura Sat Jul 05 2025 01:48:56 CAT

Africa/Cairo Sat Jul 05 2025 02:48:56 EEST

Africa/Casablanca Sat Jul 05 2025 00:48:56 +01

Africa/Ceuta Sat Jul 05 2025 01:48:56 CEST

Africa/Conakry Fri Jul 04 2025 23:48:56 GMT

Africa/Dakar Fri Jul 04 2025 23:48:56 GMT

Africa/Dar_es_Salaam Sat Jul 05 2025 02:48:56 EAT

Africa/Djibouti Sat Jul 05 2025 02:48:56 EAT

Africa/Douala Sat Jul 05 2025 00:48:56 WAT

Africa/El_Aaiun Sat Jul 05 2025 00:48:56 +01

Africa/Freetown Fri Jul 04 2025 23:48:56 GMT

Africa/Gaborone Sat Jul 05 2025 01:48:56 CAT

Africa/Harare Sat Jul 05 2025 01:48:56 CAT

Africa/Johannesburg Sat Jul 05 2025 01:48:56 SAST

Africa/Juba Sat Jul 05 2025 01:48:56 CAT

Africa/Kampala Sat Jul 05 2025 02:48:56 EAT

Africa/Khartoum Sat Jul 05 2025 01:48:56 CAT

Africa/Kigali Sat Jul 05 2025 01:48:56 CAT

Africa/Kinshasa Sat Jul 05 2025 00:48:56 WAT

Africa/Lagos Sat Jul 05 2025 00:48:56 WAT

Africa/Libreville Sat Jul 05 2025 00:48:56 WAT

Africa/Lome Fri Jul 04 2025 23:48:56 GMT

Africa/Luanda Sat Jul 05 2025 00:48:56 WAT

Africa/Lubumbashi Sat Jul 05 2025 01:48:56 CAT

Africa/Lusaka Sat Jul 05 2025 01:48:56 CAT

Africa/Malabo Sat Jul 05 2025 00:48:56 WAT

Africa/Maputo Sat Jul 05 2025 01:48:56 CAT

Africa/Maseru Sat Jul 05 2025 01:48:56 SAST

Africa/Mbabane Sat Jul 05 2025 01:48:56 SAST

Africa/Mogadishu Sat Jul 05 2025 02:48:56 EAT

Africa/Monrovia Fri Jul 04 2025 23:48:56 GMT

Africa/Nairobi Sat Jul 05 2025 02:48:56 EAT

Africa/Ndjamena Sat Jul 05 2025 00:48:56 WAT

Africa/Niamey Sat Jul 05 2025 00:48:56 WAT

Africa/Nouakchott Fri Jul 04 2025 23:48:56 GMT

Africa/Ouagadougou Fri Jul 04 2025 23:48:56 GMT

Africa/Porto-Novo Sat Jul 05 2025 00:48:56 WAT

Africa/Sao_Tome Fri Jul 04 2025 23:48:56 GMT

Africa/Timbuktu Fri Jul 04 2025 23:48:56 GMT

Africa/Tripoli Sat Jul 05 2025 01:48:56 EET

Africa/Tunis Sat Jul 05 2025 00:48:56 CET

Africa/Windhoek Sat Jul 05 2025 01:48:56 CAT

America/Adak Fri Jul 04 2025 14:48:56 HDT

America/Anchorage Fri Jul 04 2025 15:48:56 AKDT

America/Anguilla Fri Jul 04 2025 19:48:56 AST

America/Antigua Fri Jul 04 2025 19:48:56 AST

America/Araguaina Fri Jul 04 2025 20:48:56 -03

America/Argentina/Buenos_Aires Fri Jul 04 2025 20:48:56 -03

America/Argentina/Catamarca Fri Jul 04 2025 20:48:56 -03

America/Argentina/ComodRivadavia Fri Jul 04 2025 20:48:56 -03

America/Argentina/Cordoba Fri Jul 04 2025 20:48:56 -03

America/Argentina/Jujuy Fri Jul 04 2025 20:48:56 -03

America/Argentina/La_Rioja Fri Jul 04 2025 20:48:56 -03

America/Argentina/Mendoza Fri Jul 04 2025 20:48:56 -03

America/Argentina/Rio_Gallegos Fri Jul 04 2025 20:48:56 -03

America/Argentina/Salta Fri Jul 04 2025 20:48:56 -03

America/Argentina/San_Juan Fri Jul 04 2025 20:48:56 -03

America/Argentina/San_Luis Fri Jul 04 2025 20:48:56 -03

America/Argentina/Tucuman Fri Jul 04 2025 20:48:56 -03

America/Argentina/Ushuaia Fri Jul 04 2025 20:48:56 -03

America/Aruba Fri Jul 04 2025 19:48:56 AST

America/Asuncion Fri Jul 04 2025 19:48:56 -04

America/Atikokan Fri Jul 04 2025 18:48:56 EST

America/Atka Fri Jul 04 2025 14:48:56 HDT

America/Bahia Fri Jul 04 2025 20:48:56 -03

America/Bahia_Banderas Fri Jul 04 2025 17:48:56 CST

America/Barbados Fri Jul 04 2025 19:48:56 AST

America/Belem Fri Jul 04 2025 20:48:56 -03

America/Belize Fri Jul 04 2025 17:48:56 CST

America/Blanc-Sablon Fri Jul 04 2025 19:48:56 AST

America/Boa_Vista Fri Jul 04 2025 19:48:56 -04

America/Bogota Fri Jul 04 2025 18:48:56 -05

America/Boise Fri Jul 04 2025 17:48:56 MDT

America/Buenos_Aires Fri Jul 04 2025 20:48:56 -03

America/Cambridge_Bay Fri Jul 04 2025 17:48:56 MDT

America/Campo_Grande Fri Jul 04 2025 19:48:56 -04

America/Cancun Fri Jul 04 2025 18:48:56 EST

America/Caracas Fri Jul 04 2025 19:48:56 -04

America/Catamarca Fri Jul 04 2025 20:48:56 -03

America/Cayenne Fri Jul 04 2025 20:48:56 -03

America/Cayman Fri Jul 04 2025 18:48:56 EST

America/Chicago Fri Jul 04 2025 18:48:56 CDT

America/Chihuahua Fri Jul 04 2025 17:48:56 CST

America/Ciudad_Juarez Fri Jul 04 2025 17:48:56 MDT

America/Coral_Harbour Fri Jul 04 2025 18:48:56 EST

America/Cordoba Fri Jul 04 2025 20:48:56 -03

America/Costa_Rica Fri Jul 04 2025 17:48:56 CST

America/Creston Fri Jul 04 2025 16:48:56 MST

America/Cuiaba Fri Jul 04 2025 19:48:56 -04

America/Curacao Fri Jul 04 2025 19:48:56 AST

America/Danmarkshavn Fri Jul 04 2025 23:48:56 GMT


Click here to read the complete article
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Stefan Claas
Newsgroups: sci.crypt
Organization: i2pn2 (i2pn.org)
Date: Thu, 13 Jun 2024 21:02 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Thu, 13 Jun 2024 23:02:17 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <v4fmoq$3t7l2$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 13 Jun 2024 21:02:18 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="4103842"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
X-Spam-Checker-Version: SpamAssassin 4.0.0
Finger: tilde.club/~pollux/
View all headers

Stefan Claas wrote:

> Cri-Cri wrote:
>
> > On Wed, 12 Jun 2024 21:01:30 +0200, Stefan Claas wrote:
> >
> > > My program works on fifty different platforms and I am currently working
> > > to include all timezones, besides +0000 UTC. :-)
> >
> > Does that include BCE? :)
> >
> > Only Gregorian or Julian also? How about Mayan? :)
> >
>
> 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. :-)

Regarding my Go program, when it is finished ...

With 'date' and my program one can use it then as planner
for international online meetings. :-)

Example: Let's meet in sci.crypt on Sunday, June 23rd 3:00 PM
Central European Summer Time.

$ date -d '2024-06-23 15:00' +%s | go run hex2date.go -d -tz America

Time Zone Local Time
--------- ----------

America/Adak Sun 23 Jun 2024 04:00:00 HDT
America/Anchorage Sun 23 Jun 2024 05:00:00 AKDT
America/Anguilla Sun 23 Jun 2024 09:00:00 AST
America/Antigua Sun 23 Jun 2024 09:00:00 AST
America/Araguaina Sun 23 Jun 2024 10:00:00 -03
America/Argentina/Buenos_Aires Sun 23 Jun 2024 10:00:00 -03
America/Argentina/Catamarca Sun 23 Jun 2024 10:00:00 -03
America/Argentina/ComodRivadavia Sun 23 Jun 2024 10:00:00 -03
America/Argentina/Cordoba Sun 23 Jun 2024 10:00:00 -03
America/Argentina/Jujuy Sun 23 Jun 2024 10:00:00 -03
America/Argentina/La_Rioja Sun 23 Jun 2024 10:00:00 -03
America/Argentina/Mendoza Sun 23 Jun 2024 10:00:00 -03
America/Argentina/Rio_Gallegos Sun 23 Jun 2024 10:00:00 -03
America/Argentina/Salta Sun 23 Jun 2024 10:00:00 -03
America/Argentina/San_Juan Sun 23 Jun 2024 10:00:00 -03
America/Argentina/San_Luis Sun 23 Jun 2024 10:00:00 -03
America/Argentina/Tucuman Sun 23 Jun 2024 10:00:00 -03
America/Argentina/Ushuaia Sun 23 Jun 2024 10:00:00 -03
America/Aruba Sun 23 Jun 2024 09:00:00 AST
America/Asuncion Sun 23 Jun 2024 09:00:00 -04
America/Atikokan Sun 23 Jun 2024 08:00:00 EST
America/Atka Sun 23 Jun 2024 04:00:00 HDT
America/Bahia Sun 23 Jun 2024 10:00:00 -03
America/Bahia_Banderas Sun 23 Jun 2024 07:00:00 CST
America/Barbados Sun 23 Jun 2024 09:00:00 AST
America/Belem Sun 23 Jun 2024 10:00:00 -03
America/Belize Sun 23 Jun 2024 07:00:00 CST
America/Blanc-Sablon Sun 23 Jun 2024 09:00:00 AST
America/Boa_Vista Sun 23 Jun 2024 09:00:00 -04
America/Bogota Sun 23 Jun 2024 08:00:00 -05
America/Boise Sun 23 Jun 2024 07:00:00 MDT
America/Buenos_Aires Sun 23 Jun 2024 10:00:00 -03
America/Cambridge_Bay Sun 23 Jun 2024 07:00:00 MDT
America/Campo_Grande Sun 23 Jun 2024 09:00:00 -04
America/Cancun Sun 23 Jun 2024 08:00:00 EST
America/Caracas Sun 23 Jun 2024 09:00:00 -04
America/Catamarca Sun 23 Jun 2024 10:00:00 -03
America/Cayenne Sun 23 Jun 2024 10:00:00 -03
America/Cayman Sun 23 Jun 2024 08:00:00 EST
America/Chicago Sun 23 Jun 2024 08:00:00 CDT
America/Chihuahua Sun 23 Jun 2024 07:00:00 CST
America/Ciudad_Juarez Sun 23 Jun 2024 07:00:00 MDT
America/Coral_Harbour Sun 23 Jun 2024 08:00:00 EST
America/Cordoba Sun 23 Jun 2024 10:00:00 -03
America/Costa_Rica Sun 23 Jun 2024 07:00:00 CST
America/Creston Sun 23 Jun 2024 06:00:00 MST
America/Cuiaba Sun 23 Jun 2024 09:00:00 -04
America/Curacao Sun 23 Jun 2024 09:00:00 AST
America/Danmarkshavn Sun 23 Jun 2024 13:00:00 GMT
America/Dawson Sun 23 Jun 2024 06:00:00 MST
America/Dawson_Creek Sun 23 Jun 2024 06:00:00 MST
America/Denver Sun 23 Jun 2024 07:00:00 MDT
America/Detroit Sun 23 Jun 2024 09:00:00 EDT
America/Dominica Sun 23 Jun 2024 09:00:00 AST
America/Edmonton Sun 23 Jun 2024 07:00:00 MDT
America/Eirunepe Sun 23 Jun 2024 08:00:00 -05
America/El_Salvador Sun 23 Jun 2024 07:00:00 CST
America/Ensenada Sun 23 Jun 2024 06:00:00 PDT
America/Fort_Nelson Sun 23 Jun 2024 06:00:00 MST
America/Fort_Wayne Sun 23 Jun 2024 09:00:00 EDT
America/Fortaleza Sun 23 Jun 2024 10:00:00 -03
America/Glace_Bay Sun 23 Jun 2024 10:00:00 ADT
America/Godthab Sun 23 Jun 2024 12:00:00 -01
America/Goose_Bay Sun 23 Jun 2024 10:00:00 ADT
America/Grand_Turk Sun 23 Jun 2024 09:00:00 EDT
America/Grenada Sun 23 Jun 2024 09:00:00 AST
America/Guadeloupe Sun 23 Jun 2024 09:00:00 AST
America/Guatemala Sun 23 Jun 2024 07:00:00 CST
America/Guayaquil Sun 23 Jun 2024 08:00:00 -05
America/Guyana Sun 23 Jun 2024 09:00:00 -04
America/Halifax Sun 23 Jun 2024 10:00:00 ADT
America/Havana Sun 23 Jun 2024 09:00:00 CDT
America/Hermosillo Sun 23 Jun 2024 06:00:00 MST
America/Indiana/Indianapolis Sun 23 Jun 2024 09:00:00 EDT
America/Indiana/Knox Sun 23 Jun 2024 08:00:00 CDT
America/Indiana/Marengo Sun 23 Jun 2024 09:00:00 EDT
America/Indiana/Petersburg Sun 23 Jun 2024 09:00:00 EDT
America/Indiana/Tell_City Sun 23 Jun 2024 08:00:00 CDT
America/Indiana/Vevay Sun 23 Jun 2024 09:00:00 EDT
America/Indiana/Vincennes Sun 23 Jun 2024 09:00:00 EDT
America/Indiana/Winamac Sun 23 Jun 2024 09:00:00 EDT
America/Indianapolis Sun 23 Jun 2024 09:00:00 EDT
America/Inuvik Sun 23 Jun 2024 07:00:00 MDT
America/Iqaluit Sun 23 Jun 2024 09:00:00 EDT
America/Jamaica Sun 23 Jun 2024 08:00:00 EST
America/Jujuy Sun 23 Jun 2024 10:00:00 -03
America/Juneau Sun 23 Jun 2024 05:00:00 AKDT
America/Kentucky/Louisville Sun 23 Jun 2024 09:00:00 EDT
America/Kentucky/Monticello Sun 23 Jun 2024 09:00:00 EDT
America/Knox_IN Sun 23 Jun 2024 08:00:00 CDT
America/Kralendijk Sun 23 Jun 2024 09:00:00 AST
America/La_Paz Sun 23 Jun 2024 09:00:00 -04
America/Lima Sun 23 Jun 2024 08:00:00 -05
America/Los_Angeles Sun 23 Jun 2024 06:00:00 PDT
America/Louisville Sun 23 Jun 2024 09:00:00 EDT
America/Lower_Princes Sun 23 Jun 2024 09:00:00 AST
America/Maceio Sun 23 Jun 2024 10:00:00 -03
America/Managua Sun 23 Jun 2024 07:00:00 CST
America/Manaus Sun 23 Jun 2024 09:00:00 -04
America/Marigot Sun 23 Jun 2024 09:00:00 AST
America/Martinique Sun 23 Jun 2024 09:00:00 AST
America/Matamoros Sun 23 Jun 2024 08:00:00 CDT
America/Mazatlan Sun 23 Jun 2024 06:00:00 MST
America/Mendoza Sun 23 Jun 2024 10:00:00 -03
America/Menominee Sun 23 Jun 2024 08:00:00 CDT
America/Merida Sun 23 Jun 2024 07:00:00 CST
America/Metlakatla Sun 23 Jun 2024 05:00:00 AKDT
America/Mexico_City Sun 23 Jun 2024 07:00:00 CST
America/Miquelon Sun 23 Jun 2024 11:00:00 -02
America/Moncton Sun 23 Jun 2024 10:00:00 ADT
America/Monterrey Sun 23 Jun 2024 07:00:00 CST
America/Montevideo Sun 23 Jun 2024 10:00:00 -03
America/Montreal Sun 23 Jun 2024 09:00:00 EDT
America/Montserrat Sun 23 Jun 2024 09:00:00 AST
America/Nassau Sun 23 Jun 2024 09:00:00 EDT
America/New_York Sun 23 Jun 2024 09:00:00 EDT
America/Nipigon Sun 23 Jun 2024 09:00:00 EDT
America/Nome Sun 23 Jun 2024 05:00:00 AKDT
America/Noronha Sun 23 Jun 2024 11:00:00 -02
America/North_Dakota/Beulah Sun 23 Jun 2024 08:00:00 CDT
America/North_Dakota/Center Sun 23 Jun 2024 08:00:00 CDT
America/North_Dakota/New_Salem Sun 23 Jun 2024 08:00:00 CDT
America/Nuuk Sun 23 Jun 2024 12:00:00 -01
America/Ojinaga Sun 23 Jun 2024 08:00:00 CDT
America/Panama Sun 23 Jun 2024 08:00:00 EST
America/Pangnirtung Sun 23 Jun 2024 09:00:00 EDT
America/Paramaribo Sun 23 Jun 2024 10:00:00 -03
America/Phoenix Sun 23 Jun 2024 06:00:00 MST
America/Port-au-Prince Sun 23 Jun 2024 09:00:00 EDT
America/Port_of_Spain Sun 23 Jun 2024 09:00:00 AST
America/Porto_Acre Sun 23 Jun 2024 08:00:00 -05
America/Porto_Velho Sun 23 Jun 2024 09:00:00 -04
America/Puerto_Rico Sun 23 Jun 2024 09:00:00 AST
America/Punta_Arenas Sun 23 Jun 2024 10:00:00 -03
America/Rainy_River Sun 23 Jun 2024 08:00:00 CDT
America/Rankin_Inlet Sun 23 Jun 2024 08:00:00 CDT
America/Recife Sun 23 Jun 2024 10:00:00 -03
America/Regina Sun 23 Jun 2024 07:00:00 CST
America/Resolute Sun 23 Jun 2024 08:00:00 CDT
America/Rio_Branco Sun 23 Jun 2024 08:00:00 -05
America/Rosario Sun 23 Jun 2024 10:00:00 -03
America/Santa_Isabel Sun 23 Jun 2024 06:00:00 PDT
America/Santarem Sun 23 Jun 2024 10:00:00 -03
America/Santiago Sun 23 Jun 2024 09:00:00 -04
America/Santo_Domingo Sun 23 Jun 2024 09:00:00 AST
America/Sao_Paulo Sun 23 Jun 2024 10:00:00 -03
America/Scoresbysund Sun 23 Jun 2024 12:00:00 -01
America/Shiprock Sun 23 Jun 2024 07:00:00 MDT
America/Sitka Sun 23 Jun 2024 05:00:00 AKDT
America/St_Barthelemy Sun 23 Jun 2024 09:00:00 AST
America/St_Johns Sun 23 Jun 2024 10:30:00 NDT
America/St_Kitts Sun 23 Jun 2024 09:00:00 AST
America/St_Lucia Sun 23 Jun 2024 09:00:00 AST
America/St_Thomas Sun 23 Jun 2024 09:00:00 AST
America/St_Vincent Sun 23 Jun 2024 09:00:00 AST
America/Swift_Current Sun 23 Jun 2024 07:00:00 CST
America/Tegucigalpa Sun 23 Jun 2024 07:00:00 CST
America/Thule Sun 23 Jun 2024 10:00:00 ADT
America/Thunder_Bay Sun 23 Jun 2024 09:00:00 EDT
America/Tijuana Sun 23 Jun 2024 06:00:00 PDT
America/Toronto Sun 23 Jun 2024 09:00:00 EDT
America/Tortola Sun 23 Jun 2024 09:00:00 AST
America/Vancouver Sun 23 Jun 2024 06:00:00 PDT
America/Virgin Sun 23 Jun 2024 09:00:00 AST
America/Whitehorse Sun 23 Jun 2024 06:00:00 MST
America/Winnipeg Sun 23 Jun 2024 08:00:00 CDT
America/Yakutat Sun 23 Jun 2024 05:00:00 AKDT
America/Yellowknife Sun 23 Jun 2024 07:00:00 MDT


Click here to read the complete article
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Cri-Cri
Newsgroups: sci.crypt
Organization: Easynews - www.easynews.com
Date: Fri, 14 Jun 2024 20:08 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx16.ams4.POSTED!not-for-mail
From: cri@cri.cri.invalid (Cri-Cri)
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Newsgroups: sci.crypt
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>
MIME-Version: 1.0
x-hc-9: yes
x-no-archive: yes
User-Agent: Pan/0.157 (Mariinka; 7c3c6087)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 20
Message-ID: <kr1bO.52972$ujOb.17242@fx16.ams4>
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Fri, 14 Jun 2024 20:08:48 GMT
X-Received-Bytes: 1605
View all headers

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

Many are, apparently, not even in use. :) I suppose they are there for
historical reasons. Possibly future use.

--
Cri-Cri

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Cri-Cri
Newsgroups: sci.crypt
Organization: Easynews - www.easynews.com
Date: Fri, 14 Jun 2024 20:18 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!nntp.comgw.net!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx16.ams4.POSTED!not-for-mail
From: cri@cri.cri.invalid (Cri-Cri)
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Newsgroups: sci.crypt
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> <v4fmoq$3t7l2$1@i2pn2.org>
MIME-Version: 1.0
x-hc-9: yes
x-no-archive: yes
User-Agent: Pan/0.157 (Mariinka; 7c3c6087)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 17
Message-ID: <5A1bO.52973$ujOb.22628@fx16.ams4>
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Fri, 14 Jun 2024 20:18:09 GMT
X-Received-Bytes: 1490
View all headers

On Thu, 13 Jun 2024 23:02:17 +0200, Stefan Claas wrote:

> $ date -d '2024-06-23 15:00' +%s | go run hex2date.go -d -tz America
>
> Time Zone Local Time ---------
> ----------
>
> America/Adak Sun 23 Jun 2024 04:00:00 HDT

Poor bastard! 4am. ;)

Not only is he probably quite lonely on that wee spot of land in the
middle of the ocean, he also has to be up at the crack of dawn if he even
wants to have any online company and talk with them in real time. ;)

--
Cri-Cri

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Stefan Claas
Newsgroups: sci.crypt
Organization: i2pn2 (i2pn.org)
Date: Fri, 14 Jun 2024 22:22 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Sat, 15 Jun 2024 00:22:19 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <v4ifqs$i0k$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>
<v4fmoq$3t7l2$1@i2pn2.org>
<5A1bO.52973$ujOb.22628@fx16.ams4>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 14 Jun 2024 22:22:20 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="18452"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
X-Spam-Checker-Version: SpamAssassin 4.0.0
Finger: tilde.club/~pollux/
View all headers

Cri-Cri wrote:

> On Thu, 13 Jun 2024 23:02:17 +0200, Stefan Claas wrote:
>
> > $ date -d '2024-06-23 15:00' +%s | go run hex2date.go -d -tz America
> >
> > Time Zone Local Time ---------
> > ----------
> >
> > America/Adak Sun 23 Jun 2024 04:00:00 HDT
>
> Poor bastard! 4am. ;)
>
> Not only is he probably quite lonely on that wee spot of land in the
> middle of the ocean, he also has to be up at the crack of dawn if he even
> wants to have any online company and talk with them in real time. ;)
>

He he ...

--
Regards
Stefan

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Stefan Claas
Newsgroups: sci.crypt
Organization: β„­π”₯𝔦𝔣𝔣𝔯𝔒𝔭𝔲𝔫𝔨𝔰
Date: Sat, 15 Jun 2024 15:52 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Sat, 15 Jun 2024 17:52:21 +0200
Organization: β„­π”₯𝔦𝔣𝔣𝔯𝔒𝔭𝔲𝔫𝔨
𝔰
Message-ID: <v4kdbn$2qe5$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 15 Jun 2024 15:52:23 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="92613"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
X-Spam-Checker-Version: SpamAssassin 4.0.0
Finger: tilde.club/~pollux/
View all headers

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

--
Regards
Stefan

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Stefan Claas
Newsgroups: sci.crypt
Organization: β„­π”₯𝔦𝔣𝔣𝔯𝔒𝔭𝔲𝔫𝔨𝔰
Date: Sun, 16 Jun 2024 07:43 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Sun, 16 Jun 2024 09:43:19 +0200
Organization: β„­π”₯𝔦𝔣𝔣𝔯𝔒𝔭𝔲𝔫𝔨
𝔰
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
View all headers

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

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Cri-Cri
Newsgroups: sci.crypt
Organization: Easynews - www.easynews.com
Date: Sun, 16 Jun 2024 20:13 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx13.ams4.POSTED!not-for-mail
From: cri@cri.cri.invalid (Cri-Cri)
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Newsgroups: sci.crypt
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> <v4m52o$4p1d$1@i2pn2.org>
MIME-Version: 1.0
x-hc-9: yes
x-no-archive: yes
User-Agent: Pan/0.157 (Mariinka; 7c3c6087)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 35
Message-ID: <gHHbO.120257$RcM6.71948@fx13.ams4>
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sun, 16 Jun 2024 20:13:00 GMT
X-Received-Bytes: 2143
View all headers

On Sun, 16 Jun 2024 09:43:19 +0200, Stefan Claas wrote:

> I wonder what else can be done with the Linux 'date'
> command. :-)

Well, I suppose only one's imagination puts any barriers on that. I'm sure
there are ways to, if not by date alone, so by combining date with other
commands to get what you want.

Any ideas how to solve calculating the difference between two dates and
report back years, months and days, like an age of some thing, or a
person?

Like I bought my car on 2015-07-23, how old is it today? And how old will
it be on 2026-07-23?

That type of thing.

Example:
https://www.timeanddate.com/date/timeduration.html

I have a Python gadget that follows how that site does it, by excluding
the end date:

$ sky -d2age "1970-01-01--2024-06-16"
54 years, 5 months and 15 days.

$ sky -d2age "1976-02-29--2024-06-16"
48 years, 3 months and 18 days.
(In reality, since start year is a leap year, age is 12.0 years.)

I should really clean that result up a bit. :)

--
Cri-Cri

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Stefan Claas
Newsgroups: sci.crypt
Organization: β„­π”₯𝔦𝔣𝔣𝔯𝔒𝔭𝔲𝔫𝔨𝔰
Date: Mon, 17 Jun 2024 10:45 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Mon, 17 Jun 2024 12:45:31 +0200
Organization: β„­π”₯𝔦𝔣𝔣𝔯𝔒𝔭𝔲𝔫𝔨
𝔰
Message-ID: <v4p44b$8bpr$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>
<v4m52o$4p1d$1@i2pn2.org>
<gHHbO.120257$RcM6.71948@fx13.ams4>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 17 Jun 2024 10:45:31 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="274235"; mail-complaints-to="usenet@i2pn2.org";
posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
Finger: tilde.club/~pollux/
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

Cri-Cri wrote:

> On Sun, 16 Jun 2024 09:43:19 +0200, Stefan Claas wrote:
>
> > I wonder what else can be done with the Linux 'date'
> > command. :-)
>
> Well, I suppose only one's imagination puts any barriers on that. I'm sure
> there are ways to, if not by date alone, so by combining date with other
> commands to get what you want.
>
> Any ideas how to solve calculating the difference between two dates and
> report back years, months and days, like an age of some thing, or a
> person?
>
> Like I bought my car on 2015-07-23, how old is it today? And how old will
> it be on 2026-07-23?
>
> That type of thing.
>
> Example:
> https://www.timeanddate.com/date/timeduration.html

Yes, something like that. Another thing might be to combine the date
output with graphics, or cryptographic related things. I have to think
about that.

> I have a Python gadget that follows how that site does it, by excluding
> the end date:
>
> $ sky -d2age "1970-01-01--2024-06-16"
> 54 years, 5 months and 15 days.
>
> $ sky -d2age "1976-02-29--2024-06-16"
> 48 years, 3 months and 18 days.
> (In reality, since start year is a leap year, age is 12.0 years.)
>
> I should really clean that result up a bit. :)
>

Nice.

--
Regards
Stefan

Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
From: Jakob Bohm
Newsgroups: sci.crypt
Organization: WiseMo A/S
Date: Fri, 12 Jul 2024 21:45 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jb-usenet@wisemo.invalid (Jakob Bohm)
Newsgroups: sci.crypt
Subject: Re: [OT] Unix Time Stamp - Independence Day 2025 :-)
Date: Fri, 12 Jul 2024 23:45:04 +0200
Organization: WiseMo A/S
Lines: 57
Message-ID: <v6s853$3724b$1@dont-email.me>
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> <v4m52o$4p1d$1@i2pn2.org>
<gHHbO.120257$RcM6.71948@fx13.ams4>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 12 Jul 2024 23:45:07 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9b773ae0db923697192a9e1857a3e506";
logging-data="3377291"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18PVsrTMvkRkJ6Y2r3CjZQTVVpS4WORb7M="
Cancel-Lock: sha1:MIQS9pklKvrgK5GsQJObGLHxyIk=
X-Mailer: Epyrus/2.1.2
Content-Language: en-US
In-Reply-To: <gHHbO.120257$RcM6.71948@fx13.ams4>
View all headers

On 2024-06-16 22:13, Cri-Cri wrote:
> On Sun, 16 Jun 2024 09:43:19 +0200, Stefan Claas wrote:
>
>> I wonder what else can be done with the Linux 'date'
>> command. :-)
>
> Well, I suppose only one's imagination puts any barriers on that. I'm sure
> there are ways to, if not by date alone, so by combining date with other
> commands to get what you want.
>
> Any ideas how to solve calculating the difference between two dates and
> report back years, months and days, like an age of some thing, or a
> person?
>
> Like I bought my car on 2015-07-23, how old is it today? And how old will
> it be on 2026-07-23?
>
> That type of thing.
>
> Example:
> https://www.timeanddate.com/date/timeduration.html
>
> I have a Python gadget that follows how that site does it, by excluding
> the end date:
>
> $ sky -d2age "1970-01-01--2024-06-16"
> 54 years, 5 months and 15 days.
>
> $ sky -d2age "1976-02-29--2024-06-16"
> 48 years, 3 months and 18 days.
> (In reality, since start year is a leap year, age is 12.0 years.)
>
> I should really clean that result up a bit. :)
>

# Beware that this shows one month too many, 1 month old is shown
# as 02 (February) etc. Also it doesn't count the specific month
# boundaries crossed, just how far into a typical year the excess
# days will go.
# The values below count age of the example car on the day this is
# run under a modern shell like GNU bash, converting to pure
# Bourne shell will need variables and extra programs like expr
# and printf
# The date program is assumed to be the one from the GNU project.
date -u '+%y years %m months %d days %H:%M:%S' \
-d @$(( ( ( $(date '+%s') - $(date -d "2015-07-23" '+%s') ) \
/ 86400 ) * 86400 + $(date -d '1999-12-31' '+%s') ))

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 SΓΈborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded

1

rocksolid light 0.9.8
clearnet tor