Skip to content

Instantly share code, notes, and snippets.

Parthiban Soundram ParthibanSoundram

Block or report user

Report or block ParthibanSoundram

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Workout programs
from datetime import datetime
from pytz import timezone
format = "%Y-%m-%d %H:%M:%S %Z%z"
print("----------------DateTime to timezone Local time---------------")
date_str = "2018-12-17 17:04:10"
datetime_obj_naive = datetime.strptime(date_str, "%Y-%m-%d %H:%M:%S")
You can’t perform that action at this time.