Databases

Filtering Dates

In the last part of the video as well, if we were querying for books to be returned by 2015-12-18 then how come the dates rendered with operation ">" returned books to be due after 12-18 as opposed to books to be due before or by 12-18? I assumed we should have used the "<" operation.

1 Answer

Steven Parker
Steven Parker
182,590 Points

You didn't provide a link or time reference to a video, but when comparing dates, a later date is considered "greater than" an earlier date.