How can I compare a date and a datetime in Python?,"from_date = from_date.replace(hour=0, minute=0, second=0, microsecond=0)"