i want to write a query to compare a given date with today date with timestamp.
given date can be the today date, if the date is same it will compare the time.

```
select * from abcTable where submitDate <= now();

```

here its comparing only the date not the time.

`submitDate` is anydate which is in the db table.