What is wrong with the code below?
Maybe it would be simpler to just compare date and not time. I am not sure how to do this either, and I searched, but I couldn\'t
You can use fp_incr(0). Which sets the timezone part to midnight and returns a date object.