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

Get max date from string array


Recommended Posts

Hi, I've a table with a varchar column with an array of dates like this: ["31-12-2015","31-01-2016","31-12-2016"]

I need to get max date in my report. With expression editor I can get the array by this 

SUBSTITUTE(SUBSTITUTE($F{dateProroga},"[",""),"]","").split(",")[/code]

But I don't know how to get the max date (31-12-2016).

Any suggestion?

Thanks

Stefano

Link to comment
Share on other sites

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