You are here

3 February 2016

Get current time with timezone in Python. This can be achieved using a library named arrow. It's a datetime library for correct and easy calculations using only one library.

Source code viewer
  1. import arrow
  3. utc = arrow.utcnow()
  4. estonian_timestamp ='Europe/Tallinn')
Programming Language: Python