Time Across Globe Flow
Identify the Time Zone
text2 = text1.lower().lstrip().rstrip()
if subStrCheck(text2,"cst") or subStrCheck(text2,"cdt"):
Zone = ""
timezoneinput= 'US/Central'
elif subStrCheck(text2,"pst") or subStrCheck(text2,"pdt"):
Zone = ""
timezoneinput= 'US/Pacific'
elif subStrCheck(text2,"est") or subStrCheck(text2,"et") :
Zone = ""
timezoneinput= 'US/Eastern'
elif subStrCheck(text2,"cet") or subStrCheck(text2,"cest"):
Zone = ""
timezoneinput= 'CET'
elif subStrCheck(text2,"ist"):
Zone = ""
timezoneinput= 'Asia/Kolkata'Get the Current Time on basis of Time Zone
Last updated