date(year, month, day) --> date object
day
(type: getset_descriptor
)
<attribute 'day' of 'datetime.date' objects>
fromordinal
(type: builtin_function_or_method
)
<built-in method fromordinal of type object at 0x40764ba0>
fromtimestamp
(type: builtin_function_or_method
)
<built-in method fromtimestamp of type object at 0x40764ba0>
max
(type:
date
)
datetime.date(9999, 12, 31)
min
(type:
date
)
datetime.date(1, 1, 1)
month
(type: getset_descriptor
)
<attribute 'month' of 'datetime.date' objects>
resolution
(type:
timedelta
)
datetime.timedelta(1)
today
(type: builtin_function_or_method
)
<built-in method today of type object at 0x40764ba0>
year
(type: getset_descriptor
)
<attribute 'year' of 'datetime.date' objects>
ctime(...)
Return ctime() style string.
isocalendar(...)
Return a 3-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. Monday == 1 ... Sunday == 7
replace(...)
Return date with new specified fields.
strftime(...)
format -> strftime() style string.
timetuple(...)
Return time tuple, compatible with time.localtime().
toordinal(...)
Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.
weekday(...)
Return the day of the week represented by the date. Monday == 0 ... Sunday == 6