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).
Hi @NigelG, your suggestions worked but I don’t understand the the logic. I tested without the minutes and seconds and it seems to work. Maybe it won’t work on some cases? I really want to understand the logic. Why do I need to same for minutes and seconds?