If you want to get the rows whose dates are before or after a specific date, use the comparison operator and a date string.
The image above shows an example of this method.
Link to the source code.