Calendar.offset#
- Calendar.offset(date: date, days: int) date #
Returns the date in the calendar offset by n days.
- Parameters:
date (datetime.date) – the reference date
days (int) – the offset
- Returns:
offsetted – the date in the calendar days-away from the given date
- Return type:
datetime.date