Reporting - Parameter Expression to return yday date

Hello ,

I am trying to build a parameter within a report (DATA) that returns yesterdays Date. I assume using
the “now()” function minus one day within the expression should suffice but i am not having much luck.
i am not very strong with Java or Python and I am confused on how to use this functionality.

now() - INTERVAL 1 DAY ? :scratch:

Try this:


You can also use this:

addDays(now(), -1)

If you want a specific time for yesterday, pass that result into setTime