Problems with date filter in a query

Hello,

 I have a problem with date filter in a query,

This is the code:


filters: {
a!queryFilter(
field: "fechaVencimiento",
operator:">",
value: toDate(now())

),

fechaVencimiento is date of BBDD.

The problem is that when I execute the query it is returning the last two records, while I should not return anything because those records have the current date but not greater.

Do you know any solution for this?

Regards, and thank you very much

  Discussion posts and replies are publicly visible

Parents Reply Children