Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.sysadmin.recovery > #30813

Re: "never ending month" calendar?

From bofh@spuddy.org (Stephen Harris)
Newsgroups alt.sysadmin.recovery
Subject Re: "never ending month" calendar?
Date 2021-12-29 14:39 -0500
Organization *NOT* Spud's Public Usenet Domain
Message-ID <tgdiqs.bcd.ln@spuddy.org> (permalink)
References <slrnssp9g9.eff.hymie@nasalinux.net>

Show all headers | View raw


hymie! <hymie@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

Back to alt.sysadmin.recovery | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

"never ending month" calendar? hymie! <hymie@nasalinux.net> - 2021-12-29 18:16 +0000
  Re: "never ending month" calendar? Roger Bell_West <roger+asr202112@nospam.firedrake.org> - 2021-12-29 19:09 +0000
  Re: "never ending month" calendar? The Nomad <nomad@the.desert.invalid> - 2021-12-29 19:10 +0000
  Re: "never ending month" calendar? bofh@spuddy.org (Stephen Harris) - 2021-12-29 14:39 -0500
    Re: "never ending month" calendar? hymie! <hymie@nasalinux.net> - 2022-01-10 15:54 +0000
    Re: "never ending month" calendar? Grant Taylor <gtaylor@tnetconsulting.net> - 2022-01-10 11:09 -0700

csiph-web