I have str list
startDateTimes = ["2011/12/13 00:00","2011/12/13 03:00","2011/12/15 05:00"]
datetime.datetime.strptime(startDateTimes[0],'%Y/%m/%d %H:%M')
Now I want to use strptime
for all items in list.
I think I should use map
though, still not clear to me.
For example
map(datetime.datetime.strptime,startDateTimes)
Where should I put %Y/%m/%d %H:%M
?