Zeitformat ändern PM AM in Python

datetime.strptime(date_string, "%d %m %Y") # for convert to datetime standrard
datetime.strftime(date_string, "%d %m %Y") # string to datetime format
https://www.youtube.com/watch?v=qk7qqbZxJGo
bilalahmed_dev