How can I parse the string below into datetime using the strptime method?
s = ' 1:00 PM, May 20, 2020'
How can I parse the string below into datetime using the strptime method?
s = ' 1:00 PM, May 20, 2020'
import time
time.strptime(' 1:00 PM, May 20, 2020', " %H:%M PM, %B %d, %Y")