Skip to content

Instantly share code, notes, and snippets.

@duncan
Created September 18, 2010 02:02
Show Gist options
  • Save duncan/585249 to your computer and use it in GitHub Desktop.
Save duncan/585249 to your computer and use it in GitHub Desktop.
Octane:dailyshoot duncan$ rails c
Loading development environment (Rails 3.0.0)
ruby-1.9.2-p0 > Date.today
=> Fri, 17 Sep 2010
ruby-1.9.2-p0 > Date.tomorrow
=> Sun, 19 Sep 2010
ruby-1.9.2-p0 > Date.today + 1
=> Sat, 18 Sep 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment