Jump to content
We've recently updated our Privacy Statement, available here ×

style condition /date


babarincairo

Recommended Posts

Hi,

 

I want to apply a different style on a field containing a date when the value of the field is equals to NOW - 1 month.

 

In the style condition, I tried to write an expression but it doesn't work. In pseudo-code, the condition is the following :

 

$F{date} <= (new Date() - 1 month)

 

Can you help me to convert this pseudo-code in groovy.

 

Thanks.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...