How to calculate the date difference between 2 dates using Lotus Notes Fourmular
A:
If you are using lotusScript you can use either of these:
Returns the difference in seconds as a double
difference = notesdatetimeobj.TimeDifferenceDouble(othernotesdatetimeobj)
Returns the difference in seconds as a long
difference = notesdatetimeobj.TimeDifference(othernotesdatetimeobj)
If you are using @formulas you can just substract one date from the other and it will return the difference in seconds as well:
difference := date1 - date2;
Hope that helps.
Carlos
2010-07-15 16:01:04
Thank you very much for your responce.
Gamini
2010-07-16 06:00:24