datetime.py 242 B

1234567891011
  1. """For when pip wants to check the date or time.
  2. """
  3. import datetime
  4. def today_is_later_than(year: int, month: int, day: int) -> bool:
  5. today = datetime.date.today()
  6. given = datetime.date(year, month, day)
  7. return today > given