I want to get datetimes from timestamps like the following :3/1/2014 9:55 with datetime.strptime, or something equivalent.
3/1/2014 9:55
datetime.strptime
The month, day o
strptime is able to parse non-padded values. The fact that they are noted as being padded in the formatting codes table applies to strftime's output. So you can just use
strptime
strftime
datetime.strptime(datestr, "%m/%d/%Y %H:%M")