Sujet : Re: "A diagram of C23 basic types"
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.cDate : 29. Apr 2025, 04:34:53
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vuphcu$tbfj$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Mozilla Thunderbird
On 4/28/25 20:10, Janis Papanagnou wrote:
[ Just noticed this post while catching up in my backlog, so I'm not
sure my questions/comments have already been addressed elsewhere. ]
>
On 16.04.2025 22:04, Scott Lurndal wrote:
[...]
>
Back in the mainframe days, it was common to use julian dates
as they were both concise (5 BCD digits/20 bits) and sortable.
>
YYDDD
>
If time was neeeded, it was seconds since midnight in a reference
timezone.
>
I don't quite understand the rationale behind all that said above.
>
"YYDDD" was used without century information? How is that useful?
(I assume it's just the popular laziness that later lead to all the
Y2k chaos activities.)
>
And "seconds since midnight" where taken despite the Julian Dates
have a day start at high noon (12:00)? [*]
Strictly speaking, "Julian Day" is the number of days since Jan 01 4713
BCE at Noon (a date that was chosen because it simplifies conversion
between several different ancient calendar systems. It starts at Noon
because it was devised for use by astronomers, who are generally awake
at midnight and asleep at Noon (especially in ancient times).
Informally speaking, "Julian Day" is commonly used to refer to any
system for designating dates that include a "day of year" component, as
does the above example. Most of these start at midnight, not Noon.
There's no use being a purist about this (that would be my preference
too) - the informal meaning is quite common, probably more common than
the "correct" one.