Staging: this is not the live site, pydocs.org.
Members of date
c
- ctime
- Return ctime() style string.
d
- day
- Between 1 and the number of days in the given month of the given year.
f
- fromisocalendar
- Construct a date from the ISO year, week number and weekday.
- fromordinal
- Construct a date from a proleptic Gregorian ordinal.
i
- isocalendar
- Return a named tuple containing ISO year, week number, and weekday.
- isoformat
- Return string in ISO 8601 format, YYYY-MM-DD.
- isoweekday
- Return the day of the week represented by the date.
m
- max
- The latest representable date, date(MAXYEAR, 12, 31).
- min
- The earliest representable date, date(MINYEAR, 1, 1).
- month
- Between 1 and 12 inclusive.
r
- replace
- Return date with new specified fields.
- resolution
- The smallest possible difference between non-equal date objects, timedelta(days=1).
s
- strptime
- Parse string according to the given date format (like time.strptime()).
t
- timetuple
- Return time tuple, compatible with time.localtime().
- today
- Current date or datetime.
w
- weekday
- Return the day of the week represented by the date.
y
- year
- Between MINYEAR and MAXYEAR inclusive.