Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> if I need to do math with it, I often work with an offset julian date as an integer. But that only works if you stay on this side of September 1752

Wouldn't using Julian days prevent the ordinary problems involved with doing calendar math across a renumbering of the dates?



The mapping from year, month, day that I use (based on the Wikipedia page, but starting on march 1, 1600) doesn't take that gap into account. So the days in that gap exist for me, but we don't deal with dates that far back.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: