Jump to content

How Diff date could return true


pcouas_1

Recommended Posts

Hi,

 

I want define an parameter for date difference, but that's not working ?

(((int) ((new java.text.SimpleDateFormat("dd/MM/yyyy").parse($P{periodeFin}).getTime() -new java.text.SimpleDateFormat("dd/MM/yyyy").parse($P{periodeDebut}).getTime())/(1000*60*60*24)))>365 ? true:false)[/code]

 

Where is my mistake

Regards

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