Daystamp
Languages and libraries
date format library
SHOW HN2023
How HN took it
0 positive, 0 neutral or asking, 0 mixed, 5 critical, out of 5 comments about the project. Thread score -0.46.
Design: 0 for, 4 againstIdea: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
Objections
Epoch choice of year 0, month 0, day 1 is unusual compared to other day-based systems.
From 1 comment
this is using epoch "year=0, month=0, day=1", which is pretty unusual for day-based timestamps. Turbo Pascal and its descendants use "days since dec 30, 1899":…
theamk on HN
Proleptic Gregorian calendar breaks historical dates, such as Julian-era births and calendar adoption gaps.
From 2 comments
There's nothing usual about extending Gregorian calendar backwards: you likely mean proleptic Gregorian calendar if you use 0000-01-01 as the start date. Gregorian calendar had…
necovek on HNDa Vinci was born on 15 April 1452 of what was the incumbent Julian calendar. How do you represent that date with your daystamp? In proleptic Gregorian calendar, it will be a…
necovek on HN
Regional New Year and calendar adoption dates make historical year values problematic.
From 2 comments
Not to mention that various historic dates in particular regions are highly problematic wrt Year. Today, now, here in Australia it's January 1st 2023 .. but in countries and at…
defrost on HNI just realized you may not know of all the different Gregorian calendar adoption dates: https://en.m.wikipedia.org/wiki/List_of_adoption_dates_of_the_Gregorian_calendar_by_country
necovek on HN
Questions
How should dates from the Julian calendar, such as Da Vinci's birthdate, be represented?
From 1 comment
Da Vinci was born on 15 April 1452 of what was the incumbent Julian calendar. How do you represent that date with your daystamp? In proleptic Gregorian calendar, it will be a…
necovek on HN
Alternatives named
Julian Day numbers already exist.
From 1 comment
There is already Julian Days, though they are off by 0.5 since they've got day start at noon (Sun in the zenith).
necovek on HN
Turbo Pascal TDateTime and Excel date systems use different day bases.
From 1 comment
this is using epoch "year=0, month=0, day=1", which is pretty unusual for day-based timestamps. Turbo Pascal and its descendants use "days since dec 30, 1899":…
theamk on HN