How to use 'python timezone' in Python

Every line of 'python timezone' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
25def tzname(self, dt):
26 '''
27 Return the time zone name corresponding to the datetime object dt,
28 as a string.
29 '''
30 return "UTC"

Related snippets