The difficult part in this would be getting the initial format, as I don't believe Python has a formatter for st/nd/rd/th, so you might need to replace this first and then use an initial format like '%d %B %Y %I:%M%p'.
You'd be looking for something like this, I had a look through and it covers most of what your looking for. I'd write the code, but I'm on my phone, and phone coding ain't fun with a tiny keyboard.
st/nd/rd/th, so you might need to replace this first and then use an initial format like'%d %B %Y %I:%M%p'.