in oct st passing strftime(the custom format string '% /% /% % :% :%sreturns string containing and separated by slashes and and separated by colons passing '% :%mpreturns ' : pm'and passing "% of '%yreturns "october of ' note that strftime(doesn' begin with datetime datetime converting strings into datetime objects if you have string of date informationsuch as : : or 'october 'and need to convert it to datetime objectuse the datetime datetime strptime(function the strptime(function is the inverse of the strftime(method custom format string using the same directives as strftime(must be passed so that strptime(knows how to parse and understand the string (the in the name of the strptime(function stands for parse enter the following into the interactive shellu datetime datetime strptime('october ''% % % 'datetime datetime( datetime datetime strptime( : : ''% /% /% % :% :% 'datetime datetime( datetime datetime strptime("october of ' ""% of '% "datetime datetime( datetime datetime strptime("november of ' ""% of '% "datetime datetime( to get datetime object from the string 'october 'pass that string as the first argument to strptime(and the custom format string that corresponds to 'october as the second argument the string with the date information must match the custom format string exactlyor python will raise valueerror exception review of python' time functions dates and times in python can involve quite few different data types and functions here' review of the three different types of values used to represent timea unix epoch timestamp (used by the time moduleis float or integer value of the number of seconds since am on january utc datetime object (of the datetime modulehas integers stored in the attributes yearmonthdayhourminuteand second timedelta object (of the datetime modulerepresents time durationrather than specific moment keeping timescheduling tasksand launching programs