datetime.date.weekday()

date.weekday() Return the day of the week as an integer, where Monday is 0 and Sunday is 6. For example, date(2002, 12, 4).weekday() == 2, a Wednesday. See also isoweekday().

datetime.date.toordinal()

date.toordinal() Return the proleptic Gregorian ordinal of the date, where January 1 of year 1 has ordinal 1. For any date object d, date.fromordinal(d.toordinal()) == d.

datetime.date.today()

classmethod date.today() Return the current local date. This is equivalent to date.fromtimestamp(time.time()).

datetime.date.timetuple()

date.timetuple() Return a time.struct_time such as returned by time.localtime(). The hours, minutes and seconds are 0, and the DST flag is -1. d.timetuple() is equivalent to time.struct_time((d.year, d.month, d.day, 0, 0, 0, d.weekday(), yday, -1)), where yday = d.toordinal() - date(d.year, 1, 1).toordinal() + 1 is the day number within the current year starting with 1 for January 1st.

datetime.date.strftime()

date.strftime(format) Return a string representing the date, controlled by an explicit format string. Format codes referring to hours, minutes or seconds will see 0 values. For a complete list of formatting directives, see strftime() and strptime() Behavior.

datetime.date.resolution

date.resolution The smallest possible difference between non-equal date objects, timedelta(days=1).

datetime.date.replace()

date.replace(year, month, day) Return a date with the same value, except for those parameters given new values by whichever keyword arguments are specified. For example, if d == date(2002, 12, 31), then d.replace(day=26) == date(2002, 12, 26).

datetime.date.month

date.month Between 1 and 12 inclusive.

datetime.date.min

date.min The earliest representable date, date(MINYEAR, 1, 1).

datetime.date.max

date.max The latest representable date, date(MAXYEAR, 12, 31).