The modified Julian day (days since November 17, 1858) with mjd : mjd « Date « Ruby






The modified Julian day (days since November 17, 1858) with mjd


require 'date'

puts date.mjd

 

Related examples in the same category