Jump to content
Changes to the Jaspersoft community edition download ×

Default Value Expression for date at beginning of the year?


Recommended Posts

My report has two parameters, $P{STARTDATE} and $P{ENDDATE}.


I need the dates to default to 01/01 of current year for $P{STARTDATE}   and 12/31 of current year for $P{ENDDATE}


Both are java.sql.Date class.  What is the coding fof the DEFAULT VALUE EXPRESSION?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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