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

Greater than or equal to operators for date comparison in Jaspersoft Studio


Aparna_MU

Recommended Posts

Hi

I am using Jaspersoft Studio 6.1.0. Community version. How to compare dates using greater than or equal to operators? E.g. in iReports I'm able to use the following expression:

$F{Event_Scheduled_Date} >= TODAY() ? "*" : ""

However, when I use th same in Jaspersoft Studio, while running the report I get the following error.

The operator >= is undefined for the argument type(s) java.lang.String, java.lang.String

What syntax should I use to get the results?

Thanks and kind regards,

Aparna

Link to comment
Share on other sites

  • Replies 4
  • 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...