print the current time in a different country when a command is run.
What ive tried:
I have spent a few hours messing with the pytz module, and searching on stackoverflow, with no luck.
What I have tried:
I have tried getting my current time, Setting it as a variable, then using
mytime = time.strftime('%I') ctime = int(mytime) + int(6) print(str(ctime)+time.strftime(':%M:%S %p')
But the time needs to be in 12 hour time, Not 24 and needs to display the am/pm.
Thanks in advance