Jump to content
Changes to the Jaspersoft community edition download ×

How to make $X{[BETWEEN] with parameter of type date range


gerramirez

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Not sure how well that is going to work with dates, you might need to format the date first. 
Why not just used the normal between sql function for dates to achieve what you want ? 

WHERE ((yourdatefield BETWEEN TO_DATE(yourstartdate,  theformatofthedate  )  AND TO_DATE( yourendate,  theformatofthedate ) )

Link to comment
Share on other sites

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...