Skip to content

Instantly share code, notes, and snippets.

@briandoll
Created November 28, 2008 21:17
Show Gist options
  • Save briandoll/30097 to your computer and use it in GitHub Desktop.
Save briandoll/30097 to your computer and use it in GitHub Desktop.
%ruby script/console
Loading development environment (Rails 2.1.0)
>> (Time.now + 30.minutes).class
=> Time
>> 30.minutes.from_now.class
=> ActiveSupport::TimeWithZone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment