What calendar appears to count days since december 28, 1800?

Posted by Sander Marechal on Stack Overflow See other posts from Stack Overflow or by Sander Marechal
Published on 2010-04-09T11:48:58Z Indexed on 2010/04/09 11:53 UTC
Read the original article Hit count: 445

Filed under:
|

Hello,

I have been tasked to read in some data from some weird old system. The system contains many dates but they are all oddly formatted. They are integer numbers ranging from approximately 55,000 to 80,000.

I know two dates for certain:

58,112 equals February 2, 1960
61,439 equals March 16, 1969

It appears to me that those integer numbers are the number of days elapsed since December 28, 1800. But I think that's a very strange date to start a calendar on. There is probably going something on with leap years and what-not that is doing to bite me in the ass later on.

Does anyone recognise this calendar? Can anyone tell me what the proper way is to convert those integers to human readable dates?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about calendar

Related posts about data