I have UTC date time as 2021-02-24 12:41:40
.
I want to get it converted into local timezone in 24 hour format i.e. "IST" in same format i.e. 2021-02-24 18:11:40
.
I referred many answers on Stackoverflow, but I am not able to get the result in desired format.
How can it be achieved in Python3?