August 28, 2006 by richpav
To create a date one year from now:
require ‘date’ next_year = Date.today >> 12
Posted in Ruby on Rails | Leave a Comment
Comments RSS
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
Connecting to %s
Notify me of follow-up comments via email.
Get every new post delivered to your Inbox.