I have the following datestring:
d = 'Fri Nov 20, 7:54AM CST'
That i am trying to parse using the following code:
from datetime import datetime as dt
dt.strptime(d, '%a %b %d, %I:%M%p %Z')
I receive the following error: ValueError: time data 'Fri Nov 20, 7:54AM CST' does not match format '%a %b %d, %I:%M%p %Z'
I don't understand what i am doing wrong, can anyone help ?