Skip to content

Instantly share code, notes, and snippets.

@marcjeanson
Created May 10, 2013 23:21
Show Gist options
  • Save marcjeanson/5558175 to your computer and use it in GitHub Desktop.
Save marcjeanson/5558175 to your computer and use it in GitHub Desktop.
It's cool Ruby, I usually don't know what day it is either....
irb(main):003:0> Date.today
=> Sat, 11 May 2013
irb(main):004:0> Date.tomorrow
=> Sat, 11 May 2013
irb(main):005:0> Date.yesterday
=> Thu, 09 May 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment