Reyt, so I'm looking to have the difference between two sets of days counted right? This is the code I have:
diff = futureDate - day;
System.out.println(diff + " days difference");
Problem is, when I type this in:
The print is coming up as:
-5 days difference
So, how do I change this so it doesn't add the negative value? All help is greatly appreciated.