-
-
Save codeslinger/3837ffba420f7deea466 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):016:0> list.created_at | |
=> 2013-03-03 04:00:00 UTC | |
irb(main):017:0> list.created_at.to_i | |
=> 1362283200 | |
irb(main):018:0> Time.at(list.created_at.to_i) | |
=> 2013-03-02 23:00:00 -0500 | |
irb(main):019:0> Time.now | |
=> 2013-03-19 12:33:21 -0400 | |
irb(main):020:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment