You guys have been life savers for me, and I appreciate your help so much.
I am trying to check the difference in days between two submitted requests.
I get an error that dd can not be resolved.
I tried "DD" and got DateDiff(String , Date, Date) is undefined
I tried Calendar.DATE and got DateDiff(int, Date, Date) is undefined
What do I need to add to make this work?
Thanks again for all your help.
Brita
I am trying to check the difference in days between two submitted requests.
Code:
DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM); Date firstDate = df.parse(firstRequest); Date secondDate = df.parse(secondRequest); int requestDays = DateDiff(dd, firstDate, secondDate);
I tried "DD" and got DateDiff(String , Date, Date) is undefined
I tried Calendar.DATE and got DateDiff(int, Date, Date) is undefined
What do I need to add to make this work?
Thanks again for all your help.
Brita
Comment