Despite the fact that the datetime.datetime
is inherited from the datetime.date
they are not compatible from comparison
and arithmetical operations perspective. Trying to compare a datetime.datetime
with a datetime.date
objects leads to a
TypeError
.