+ 4
How do you print the time in python?
2 Answers
+ 19
import datetime
value= datetime.datetime.now()
print(value)
To get value of time in ur timezone , u need to make it aware.. You can use the documentation for additional information
+ 5
More on the datetime module:
https://docs.python.org/3.6/library/datetime.html