programming-examples/python/Date/Drop microseconds from datetime.py
2019-11-15 12:59:38 +01:00

5 lines
109 B
Python

import datetime
dt = datetime.datetime.today().replace(microsecond=0)
print()
print(dt)
print()