I have two dates I am comparing.
a = datetime.datetime.strptime('2019-03-09','12:09 AM')
b = datetime.datetime.strptime('2019-03-09','11:56 PM')
a = 2019-03-09 12:09
b = 2019-03-09 11:56
if a > b:
print('yes')
What's happening is a is greater than b. But it shouldn't be. It seems like its cutting off the am and pm.