Python get current time by timezone

While creating a Python program, we may have to get the current time following a timezone. Below lines of code works for the purpose.

In order to show all timezones, let following below command

Leave a Reply

Your email address will not be published. Required fields are marked *