Last active
August 29, 2015 14:12
-
-
Save navjeetc/b4753351e5fd8f229d43 to your computer and use it in GitHub Desktop.
Time in Pak
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
tz = ActiveSupport::TimeZone.new("Islamabad") | |
# Time to be converted to Pak time | |
started_at = Time.now + 5.hours | |
started_at.in_time_zone(tz) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment