Deutsch   English   Français   Italiano  
<87bk7i6smy.fsf@nosuchdomain.example.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: getFirstDayOfMonth()
Date: Wed, 13 Mar 2024 08:47:17 -0700
Organization: None to speak of
Lines: 32
Message-ID: <87bk7i6smy.fsf@nosuchdomain.example.com>
References: <urrj5l$124o9$1@dont-email.me> <urssrf$1vntr$1@news.xmission.com>
	<uru0k6$1hpdi$1@dont-email.me> <cleibk-jk1.ln1@hendrix.foo>
	<us765i$3pbtq$1@dont-email.me> <usranh$pftj$1@dont-email.me>
	<usrbv1$pmv9$1@dont-email.me> <8mNE3wTqvNvro8cZV@bongo-ra.co>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="3a33dee2b2d0e1e9aaa54021fdfdfa61";
	logging-data="1084707"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19RmMeZNTsB1lIs573VL0EW"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:7vEIHzIks2dC9p/0D5enRJg11Mk=
	sha1:70nmIimFLjbEMyL9vmMS85qRFLU=
Bytes: 2718

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 */