Mega Code Archive
Categories
/
Ruby
/
Date
To see the difference between Julian and Gregorian dates (there is a difference of more than 10 days), find the Julian day with the j
require 'date' puts date.julian.to_s