Created
March 30, 2016 19:16
-
-
Save smathy/7af836aec9265bbe71ae88f4113dc1c5 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
[1] pry(main)> t = Time.now | |
=> 2016-03-30 13:15:52 -0600 | |
[2] pry(main)> Time.use_zone("Darwin") { Time.zone.local *t } | |
=> Wed, 30 Mar 2016 13:15:52 ACST +09:30 | |
[3] pry(main)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment