C# Julian Date Parser
Posted
by Jake Pearson
on Stack Overflow
See other posts from Stack Overflow
or by Jake Pearson
Published on 2009-02-04T20:47:24Z
Indexed on
2010/04/18
21:43 UTC
Read the original article
Hit count: 738
I have a cell in a spreadsheet that is a date object in Excel but becomes a double (something like 39820.0 for 1/7/2009) when it comes out of C1's xls class. I read this is a Julian date format. Can someone tell me how to parse it back into a DateTime in C#?
Update: It looks like I might not have a Julian date, but instead the number of days since Dec 30, 1899.
© Stack Overflow or respective owner