programming-examples/python/Date/Drop microseconds from datetime.py

5 lines
109 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
import datetime
dt = datetime.datetime.today().replace(microsecond=0)
print()
print(dt)
print()