About this question
I'm looking for a way to calculate the days, here below is my requirement:
If the calendar interval is 90 days and the LastCompletionDate is 04/05/2015 then find the # of days.
Here is what I have gathered.
String CalendarInterval = 90; //days; Date daysDiff = CalendarInterval - LastCompletionDate; //04/05/2015 If the DaysDiff >= 90 { //create entry in Order Object }