in reply to Re^4: how to convert a timestamp to MJD (Modified Julian Date)
in thread how to convert a timestamp to MJD (Modified Julian Date)

As far as I know (by which I mean, I read the wikipedia page on Julian dates), JD-2500000.5 is the definition of MJD.

In any case, see my post below if you're interested in a solution that doesn't require you to rewrite date parsing code.

  • Comment on Re^5: how to convert a timestamp to MJD (Modified Julian Date)

Replies are listed 'Best First'.
Re^6: how to convert a timestamp to MJD (Modified Julian Date)
by ascetic (Novice) on Sep 26, 2007 at 23:35 UTC
    I modified my prior post to correct the constant (which I won't repeat for fear of typing it wrong again). Also, for those who have trust issues with wikiped, here is another site (assuming you don't have trust issues with the US navy). http://tycho.usno.navy.mil/mjd.html Update: Of course I now see this link is an external link on the wikiped page itself.