datetime
math
random
statistics
os
from datetime import date, datetime today = date.today() print(type(today)) print(today)
<class 'datetime.date'> 2025-08-27
now = datetime.now() print(type(now)) print(now)
<class 'datetime.datetime'> 2025-08-27 18:43:20.189865