I have 2 date time objects:
dt1 = 2016-04-18 20:15:07
dt2 = 2016-04-18 20:15:07+00:00
and I want to compare these 2 which should give me true as both are technically same. but when I do :
if(dt1 == dt2):
print("times match!)
I always get a false condition here. Any pointers on how to get over this?