I used following line to transfer my date string but it gave me an error.

```
print datetime.datetime.strptime(arg, '%d %b %Y').date().strftime("%B %d, %Y")

```

> 
> `ValueError: time data '28 JUL 1795' does not match format '%B %d %Y'`
> 
> 
>