datetime.time.__str__()

time.__str__() For a time t, str(t) is equivalent to t.isoformat().

datetime.time.__format__()

time.__format__(format) Same as time.strftime(). This makes it possible to specify a format string for a time object when using str.format(). For a complete list of formatting directives, see strftime() and strptime() Behavior.

datetime.time.utcoffset()

time.utcoffset() If tzinfo is None, returns None, else returns self.tzinfo.utcoffset(None), and raises an exception if the latter doesn’t return None or a timedelta object representing a whole number of minutes with magnitude less than one day.

datetime.time.tzname()

time.tzname() If tzinfo is None, returns None, else returns self.tzinfo.tzname(None), or raises an exception if the latter doesn’t return None or a string object.

datetime.time.tzinfo

time.tzinfo The object passed as the tzinfo argument to the time constructor, or None if none was passed.

datetime.time.strftime()

time.strftime(format) Return a string representing the time, controlled by an explicit format string. For a complete list of formatting directives, see strftime() and strptime() Behavior.

datetime.time.second

time.second In range(60).

datetime.time.resolution

time.resolution The smallest possible difference between non-equal time objects, timedelta(microseconds=1), although note that arithmetic on time objects is not supported.

datetime.time.replace()

time.replace([hour[, minute[, second[, microsecond[, tzinfo]]]]]) Return a time with the same value, except for those attributes given new values by whichever keyword arguments are specified. Note that tzinfo=None can be specified to create a naive time from an aware time, without conversion of the time data.

datetime.time.minute

time.minute In range(60).