How to print time min and max class attributes in Python

1 Answer

0 votes
import datetime
 
print('Min:', datetime.time.min)
print('Max:', datetime.time.max)
print('Resolution:', datetime.time.resolution)


'''
run:

Min: 00:00:00
Max: 23:59:59.999999
Resolution: 0:00:00.000001

'''

 



answered Jun 5, 2019 by avibootz
...