import os date day code example
Example: print time python
from datetime import datetime
now = datetime.now().time() # time object
print("now =", now)
print("type(now) =", type(now))
from datetime import datetime
now = datetime.now().time() # time object
print("now =", now)
print("type(now) =", type(now))