Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"never ending month" calendar?

108 views
Skip to first unread message

hymie!

unread,
Dec 29, 2021, 1:16:43 PM12/29/21
to
I hope this isn't UI.

Many years ago, we used to comment on September 1994 (when AOL joined
Usenet) as the "month that never ended," and you used to see people
referring to the days as "3274 September 1994".

Does anybody know where I might find such a thing? It seems like March
2020 would be another candidate, and my programming skills are not what
they used to be.

--hymie! http://nasalinux.net/~hymie hy...@nasalinux.net

The Nomad

unread,
Dec 29, 2021, 2:10:33 PM12/29/21
to
I believe this will do your bidding :-)

<https://github.com/df7cb/sdate>

Avpx


--
And before anyone complains about the grammar, I'm so jetlagged that my
hands aren't even in the same time zone...
(alt.fan.pratchett)
Wed 10347 Sep 19:05:01 GMT 1993
19:05:01 up 7:48, 6 users, load average: 0.59, 0.74, 0.59

Stephen Harris

unread,
Dec 29, 2021, 2:40:06 PM12/29/21
to
hymie! <hy...@nasalinux.net> wrote:
> I hope this isn't UI.

> Many years ago, we used to comment on September 1994 (when AOL joined
> Usenet) as the "month that never ended," and you used to see people
> referring to the days as "3274 September 1994".

> Does anybody know where I might find such a thing? It seems like March
> 2020 would be another candidate, and my programming skills are not what
> they used to be.

We can cheat.

#!/bin/bash

set -- $(date "$@" +"%s %a %X %Z")
case $0 in
*september) o=8643 ; m=Sep ; y=1993 ;;
*covdate) o=18321 ; m=Mar ; y=2020 ;;
*) echo Unknown command
exit
esac
let d=$1/86400-$o
echo "$2 $m $d $3 $4 $y"


--

rgds
Stephen

hymie!

unread,
Jan 10, 2022, 10:54:43 AM1/10/22
to
(forgot my chicken sacrifice, sorry if you see a double post)

In our last episode, the evil Dr. Lacto had captured our hero,
Stephen Harris <bo...@spuddy.org>, who said:

> #!/bin/bash
>
> set -- $(date "$@" +"%s %a %X %Z")
> case $0 in
> *september) o=8643 ; m=Sep ; y=1993 ;;
> *covdate) o=18321 ; m=Mar ; y=2020 ;;
> *) echo Unknown command
> exit
> esac
> let d=$1/86400-$o
> echo "$2 $m $d $3 $4 $y"

Worked like a charm. Thanks!

--hymie!
Monday, March 681, 2020

Grant Taylor

unread,
Jan 10, 2022, 1:09:36 PM1/10/22
to
On 12/29/21 12:39 PM, Stephen Harris wrote:
> We can cheat.

Cute.

> #!/bin/bash
>
> set -- $(date "$@" +"%s %a %X %Z")
> case $0 in
> *september) o=8643 ; m=Sep ; y=1993 ;;
> *covdate) o=18321 ; m=Mar ; y=2020 ;;
> *) echo Unknown command
> exit
> esac
> let d=$1/86400-$o
> echo "$2 $m $d $3 $4 $y"

*exchangedate) 0=18961 ; M=Dec ; y=2021 ;;

For Microsoft's recent Exchange date problem.



--
Grant. . . .
unix || die




--
Grant. . . .
unix || die
0 new messages