operating system services weekday(returns the day of the week in the range (mondayto (sundaytime objects time objects are used to represent time in hoursminutessecondsand microseconds times are created using the following class constructortime(hour [minute [second [microsecond [tzinfo]]]]creates time object representing time where <hour <minute <second and <microsecond tzinfo provides time zone information and is an instance of the tzinfo class described later in this section the returned time object has the attributes hourminutesecondmicrosecondand tzinfowhich hold the corresponding values supplied as arguments the following class attributes of time describe the range of allowed values and resolution of time instancestime min class attribute representing the minimum representable time (datetime time( , )time max class attribute representing the maximum representable time (datetime time( , )time resolution smallest resolvable difference between non-equal time objects (datetime timedelta( , , )an instancetof time object has attributes hourt minutet secondt microsecondand tzinfo in addition to the following methodst dst(returns the value of tzinfo dst(nonethe returned object is timedelta object if no time zone is setnone is returned isoformat(returns string representing the time as 'hh:mm:ss mmmmmmif the microseconds are that part of the string is omitted if time zone information has been suppliedthe time may have an offset added to it (for example'hh:mm:ss mmmmmm+hh:mm' replace([hour [minute [second [microsecond [tzinfo ]]]]]returns new time objectwhere one or more components have been replaced by the supplied values for examplet replace(second= changes the seconds field to and returns new time object the arguments have the same meaning as those supplied to the time(function shown earlier strftime(formatreturns string formatted according to the same rules as the time strftime(function in the time module because date information is unavailableonly the formatting codes for time-related information should be used lib fl ff