I need to parse date and time. Here is what I\'ve got:
import time a = time.strptime(\'Apr 28 2013 23:01\', \"%b %d %y %H:%M\") print a
Bu
%y should be %Y for a 4 digit year...
%y
%Y
From the docs:
%y Year without century as a decimal number [00,99]. %Y Year with century as a decimal number.