the following class attributes describe the maximum rate and resolution of date instances date min class attribute representing the earliest date that can be represented (datetime date( , , )date max class attribute representing the latest possible date (datetime date( , , )date resolution smallest resolvable difference between non-equal date objects (datetime timedelta( )an instancedof date has read-only attributes yeard monthand day and additionally provides the following methodsd ctime(returns string representing the date in the same format as normally used by the time ctime(function isocalendar(returns the date as tuple (iso_yeariso_weekiso_weekday)where iso_week is in the range to and iso_weekday is the range (mondayto (sundaythe first iso_week is the first week of the year that contains thursday the range of values for the three tuple components are determined by the iso standard isoformat(returns an iso -formatted string of the form 'yyyy-mm-ddrepresenting the date isoweekday(returns the day of the week in the range (mondayto (sundayd replace([year [month [day ]]]returns new date object with one or more of the supplied components replaced by new value for exampled replace(month= returns new date where the month has been replaced by strftime(formatreturns string representing the date formatted according to the same rules as the time strftime(function this function only works for dates later than the year moreoverformat codes for components missing from date objects (such as hoursminutesand so onshould not be used timetuple(returns time struct_time object suitable for use by functions in the time module values related to the time of day (hoursminutessecondswill be set to toordinal(converts to an ordinal value january of year has ordinal value lib fl ff