Answers for "what timezone does module time use in python"

0

python - oordinated universal time

from datetime import datetime, timezone
print(datetime.now())              # timezone
print(datetime.now(timezone.utc))  # coordinated universal time
Posted by: Guest on August-13-2020

Code answers related to "what timezone does module time use in python"

Python Answers by Framework

Browse Popular Code Answers by Language