I would like to compare a date stored in the database against the date selected in the date picker. I want to check if both are the same date. Meaning same year, month and date.
The equal does not work as it is a strick comparison (year, month, date, hour, min, sec).
How to use < and > to check it is the same date?