Unable To Solve Strptime() Issue Even After Trying All The Formats
I'm using the following code: data['Input_volTargetStart'][1]>time.strptime(data['Dates'][1], '%d %b $y') When I try to run it, I get this error: ValueError: time data '04-Jun
Solution 1:
You can actually put the dashes ('-') as part of the format, i.e "%d-%b-%y".
Post a Comment for "Unable To Solve Strptime() Issue Even After Trying All The Formats"