Files
pythonkurs/teil11/currentdate.py
2023-03-28 12:26:50 +02:00

10 lines
128 B
Python

from datetime import datetime
heute = datetime.now()
print(type(heute))
print(heute)
print(heute.time())
print(heute.date())