In Italy, 4 Oct 1582 was immediately followed by 15 Oct 1582.
require 'date' puts Date.new(1582, 10, 4).to_s puts Date.new(1582, 10, 5).to_s puts Date.new(1582, 10, 4).succ.to_s
1. | The Date Class | ||
2. | Use expression substitution to show the date in a user-specified format. | ||
3. | Calendar forms | ||
4. | In England, 2 Sep 1752 was immediately followed by 14 Sep 1752. |