This commit is contained in:
Borzutzki Robert 2024-11-25 23:15:56 +01:00
parent 4aa286423a
commit ad09101f47

View File

@ -44,7 +44,7 @@ from datetime import datetime, timedelta, date
start_time = date.today() start_time = date.today()
print(start_time.strftime("%d.%m.%Y")) print(start_time.strftime("%d.%m.%Y"))
ruhestand = date(2025, 6, 10) ruhestand = date(2026, 6, 10)
# Zeitdelta berechnen # Zeitdelta berechnen
duration = ruhestand - start_time duration = ruhestand - start_time
print(duration) # Ausgabe: 9 Tage, 2:30:00 print(duration) # Ausgabe: 9 Tage, 2:30:00