Home >> Programming Projects >> Ruby Code for Calculating the Julian Day

Ruby Code for Calculating the Julian Day

 

Here is a quick ruby script which can be used for calculating the Julian day. You can either download it by clicking here or simply copy and paste it.

These calculations were taken from the book Astronomical Algorithms by Jean Meeus, pages 59-61. It's a good book to have a copy of if you're into math, programming, astronomy, or just science stuff in general.

 

 

 

 

 

 

 

Home >> Programming Projects >> Ruby Code for Calculating the Julian Day