How to convert date and time with different timezones in Python?
Answers
Answered by
0
I want to convert the current time to +0900 in Python.
What's the appropriate way to do this (assuming in the time module)?
I've read this isn't included with Python and you have to use something like pytz.
I don't want to change it on a server basis or globally, just in this one instance.
Similar questions
Social Sciences,
6 months ago
English,
6 months ago
Hindi,
6 months ago
Math,
1 year ago
Biology,
1 year ago