Fix Python – time data does not match format
I get the following error:
time data ’07/28/2014 18:54:55.099000′ does not match format ‘%d/%m/%Y %H:%M:%S.%f’
But I cannot see what parameter is wrong in %d/%m/%Y %H:%M:%S.%f ?
This is the code I use.
from datetime import datetime
time_value = datetime.strptime(csv_line + ‘000’, ‘%d/%m/%Y %H:%M:%S.%f’)
I have added and removed the 000 but I ….