Created
November 5, 2014 19:43
-
-
Save prakashanantha/b963e72b32c1a8aec3e7 to your computer and use it in GitHub Desktop.
Current Datetime in current timezone
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
to_zone = tz.gettz("Asia/Calcutta") | |
current_time = datetime.datetime.now().replace(tzinfo=to_zone) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment