@hello44 Thanks Andreas. Yes, I understand how the date object works, but it seems that, according to the setFilter API doc (unless I’m missing something), that you should be able to compare two date objects with a LT (less than) or GT (greater than). So if one was “01/01/1980 3:45PM”, and the other was “01/01/2018 12:45PM”, it would be clear which one is greater, but it fails to return no matter if you use GT, or LT - it just won’t compare them. But, if you zero out the time portion, and then compare the date objects using setFilter, then the LT or GT comparison works.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Filter with dates is not working | 4 | 491 | April 11, 2021 | |
| Call current date and time | 5 | 3709 | February 18, 2018 | |
| Can some intelligent being explain why | 1 | 105 | July 5, 2018 | |
| Filtering a collection's entries by date using setFilter() and filter(), but will only work if I re-make it as a string, why is this? | 0 | 98 | April 9, 2021 | |
| Looking for a way to filter data by date | 2 | 1607 | November 29, 2019 |