How can I compare a date and a datetime in Python?,"datetime.datetime(d.year, d.month, d.day)"