datetime objects are the worst. I usually convert them to strings
This is an obviously awful way to check whether there is a time, in the absence of a... 'has_time'... property
>>> d
datetime.datetime(2016, 4, 21, 13, 16, 22, 961326)
>>> ds = str(d)
>>> ds
'2016-04-21 13:16:22.961326'
>>> if " " in ds: print("no time")
no time
I hope you get the drift, and I only recommend it in the absence a correct answer
if " " in str(yourdate): skip
else: do stuff