directive meaning % % % % hour ( -hour clockas decimal number [ - day of the year as decimal number [ - month as decimal number [ - minute as decimal number [ - locale' equivalent of either am or pm seconds as decimal number [ - week number of the year [ - (sunday as first dayweekday as decimal number [ - ( sundayweek number of the year (monday as first daylocale' appropriate date representation locale' appropriate time representation year without century as decimal number [ - year with century as decimal number time zone name (or by no characters if no time zone existsthe character % % % % % % % % % % % the format codes can include width and precision in the same manner as used with the operator on strings valueerror is raised if any of the tuple fields are out of range if tuple is omittedthe time tuple corresponding to the current time is used strptime(string [format]parses string representing time and returns struct_time object as returned by localtime(or gmtime(the format parameter uses the same specifiers as used by strftime(and defaults to '% % % % :% :% %ythis is the same format as produced by the ctime(function if the string cannot be parseda valueerror exception is raised time(returns the current time as the number of seconds since the epoch in utc (coordinated universal timetzset(resets the time zone setting based on the value of the tz environment variable on unix for exampleos environ['tz''us/mountaintime tzset(os environ['tz'"cst+ cdt, ,mtime tzset(notes when two-digit years are acceptedthey're converted to four-digit years according to the posix /open standardwhere the values - are mapped to - and the values - are mapped to - lib fl ff