datetime.datetime.month

datetime.month Between 1 and 12 inclusive.

datetime.datetime.min

datetime.min The earliest representable datetime, datetime(MINYEAR, 1, 1, tzinfo=None).

datetime.datetime.microsecond

datetime.microsecond In range(1000000).

datetime.datetime.isoweekday()

datetime.isoweekday() Return the day of the week as an integer, where Monday is 1 and Sunday is 7. The same as self.date().isoweekday(). See also weekday(), isocalendar().

datetime.datetime.max

datetime.max The latest representable datetime, datetime(MAXYEAR, 12, 31, 23, 59, 59, 999999, tzinfo=None).

datetime.datetime.hour

datetime.hour In range(24).

datetime.datetime.isoformat()

datetime.isoformat(sep='T') Return a string representing the date and time in ISO 8601 format, YYYY-MM-DDTHH:MM:SS.mmmmmm or, if microsecond is 0, YYYY-MM-DDTHH:MM:SS If utcoffset() does not return None, a 6-character string is appended, giving the UTC offset in (signed) hours and minutes: YYYY-MM-DDTHH:MM:SS.mmmmmm+HH:MM or, if microsecond is 0 YYYY-MM-DDTHH:MM:SS+HH:MM The optional argument sep (default 'T') is a one-character separator, placed between the date and time portions of the res

datetime.datetime.isocalendar()

datetime.isocalendar() Return a 3-tuple, (ISO year, ISO week number, ISO weekday). The same as self.date().isocalendar().

datetime.datetime.fromtimestamp()

classmethod datetime.fromtimestamp(timestamp, tz=None) Return the local date and time corresponding to the POSIX timestamp, such as is returned by time.time(). If optional argument tz is None or not specified, the timestamp is converted to the platform’s local date and time, and the returned datetime object is naive. If tz is not None, it must be an instance of a tzinfo subclass, and the timestamp is converted to tz’s time zone. In this case the result is equivalent to tz.fromutc(datetime.ut

datetime.datetime.day

datetime.day Between 1 and the number of days in the given month of the given year.