diff --git a/examples/date-diff.py b/examples/date-diff.py index 241be85..470e002 100644 --- a/examples/date-diff.py +++ b/examples/date-diff.py @@ -45,7 +45,7 @@ start_time = date.today() print(start_time.strftime("%d.%m.%Y")) ruhestand = date(2025, 6, 10) # Zeitdelta berechnen -duration = end_time - start_time +duration = ruhestand - start_time print(duration) # Ausgabe: 9 Tage, 2:30:00 def init_monitor():