datetime.utcoffset() If tzinfo is None, returns None, else returns self.tzinfo
date.isoformat() Return a string representing the date in ISO 8601 format, ‘YYYY-MM-DD’. For example, date(2002, 12, 4)
yeardatescalendar(year, width=3) Return the data for the specified year ready for formatting. The return value is a list of
classmethod datetime.utcnow() Return the current UTC date and time, with tzinfo None. This is like
WeakKeyDictionary.keyrefs() Return an iterable of the weak references to the keys.
count(x) Count the number of deque elements equal to x.
pop() Remove and return an element from the right side of the deque. If no elements are present, raises an
somenamedtuple._replace(kwargs) Return a new instance of the named tuple replacing specified fields with new values:
classmethod datetime.combine(date, time) Return a new datetime object whose date components are equal to the given
array.tostring() Deprecated alias for tobytes().
Page 22 of 32