Re: getFirstDayOfMonth()

Liste des GroupesRevenir à cl c  
Sujet : Re: getFirstDayOfMonth()
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.c
Date : 13. Mar 2024, 17:47:17
Autres entêtes
Organisation : None to speak of
Message-ID : <87bk7i6smy.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Spiros Bousbouras <spibou@gmail.com> writes:
On Wed, 13 Mar 2024 06:01:22 +0100
jak <nospam@please.ty> wrote:
Instead, I would be curious to understand why nobody follows a standard
about the dates. Let's take this date for example: January 1, 1580.
On the web 50% of the sites searched with "day of week calculator" say
that the day was Tuesday while the others say it was Friday. Excel and
Calc (OpenOffice) say it was Friday and the same says "cal" on *nix if
the "--iso" option is not used. So, someone follows the ISO convention
and others Julian but I read somewhere that the ISO convention had to be
followed in the computer scope.
>
For the year 1580 what would be the appropriate standard ? I don't see any
point using a modern standard for 1580. The day of the week is a cultural
matter depending on era and location so what useful cultural information
would you get by knowing that according to a modern standard , January 1
1580 was whatever day ?

There's something called the proleptic Gregorian calendar, produced by
extending the rules for the Gregorian calendar back to dates preceding
its introduction.  It's used fairly widely.

https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar

Note also that in the US consider George Washington's birthday is
considered to be February 22 (NS, new style), even though that date was
February 11 (OS) under the Julian calender then in effect.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Date Sujet#  Auteur
13 Mar 24 * Re: getFirstDayOfMonth()7jak
13 Mar 24 `* Re: getFirstDayOfMonth()6jak
13 Mar 24  +* Re: getFirstDayOfMonth()3Spiros Bousbouras
13 Mar 24  i`* Re: getFirstDayOfMonth()2Keith Thompson
13 Mar 24  i `- Re: getFirstDayOfMonth()1Keith Thompson
13 Mar 24  `* Re: getFirstDayOfMonth()2Keith Thompson
15 Mar 24   `- Re: getFirstDayOfMonth()1Tim Rentsch

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal