How to compare dates in iReport ? I want to use the "Print When Expression.."
Something like : $F{date_from_table} <= $F{another_date_from_table} ? true : false
It should work .
What is the correct syntax? Thanks.
How to compare dates in iReport ? I want to use the "Print When Expression.."
Something like : $F{date_from_table} <= $F{another_date_from_table} ? true : false
It should work .
What is the correct syntax? Thanks.
Try to use Date.before() or Date.after() method.
Like below