Created
December 28, 2018 11:28
-
-
Save andanhm/7221feb6bcc687c747a6ca28a767143e to your computer and use it in GitHub Desktop.
Python India ISO Time
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
#!/usr/bin/python | |
import pytz | |
from datetime import datetime, timedelta | |
intz = pytz.timezone('Asia/Kolkata') | |
print (datetime.now(intz)+ timedelta(days=1)).strftime("%Y-%m-%d %H:%M %p") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment