There have been so many times when I wanted to have a
datetime show in UTC. I am not talking about simply looking at the time and acting as if it is in UTC. For example let’s say that I want to express the current time in UTC. This is how you do it:
If I run the above code in Python 3.6 or above in New York (UTC-0500) the following will be the result:
Python Datetime Timezone
In order to do the same in Python 3.6 I can use something like the following:
Utc Datetime Python Tutorial
Happy coding! 😎 Eve echoes nintendo switch.