1999-2000Lecture Notes on Astrometry Day of Week from Julian Date X I=JD0-7*int((JD0+1)/7)+2; X I: 1,2,3,4,5,6,7 X I=1: Sunday