commenthol / astronomia

An astronomical library
MIT License
121 stars 23 forks source link

julian day at January 27 at noon of the year #21

Open hjy1210 opened 3 years ago

hjy1210 commented 3 years ago

According Meeus(2009) page 61, Example 7.b, "the JD corresponding to January 27 at noon of the year 333" is 1842713.0

But following expression get 1842712

julian.DateToJD(new Date(Date.UTC(333,0,27,12,0,0)))