In England, 2 Sep 1752 was immediately followed by 14 Sep 1752. : Date.new « Date « Ruby






In England, 2 Sep 1752 was immediately followed by 14 Sep 1752.

require 'date'
puts Date.new(1752, 9, 2, Date::ENGLAND).to_s



 








Related examples in the same category

1.The Date Class
2.Use expression substitution to show the date in a user-specified format.
3.Calendar forms
4.In Italy, 4 Oct 1582 was immediately followed by 15 Oct 1582.