40 pts.
 Calculate Duration for Annual Leave
Hi, I have Lotus Notes application which is for Leave applying. I have calculate duration function to calculate duration of leave when user put Date from to Date to. This function did not calculate Saturday and Sunday as working day even the user put Saturday and Sunday in their leave. But the problem is some user can't get the calculated duration which means only show 0 days when they put Saturday and Sunday. If they don't put Saturday and Sunday the duration is shown up. But other users can get duration even they put Saturday and Sunday. I would like to know why it is happened and is there anyone can give me any idea. Thanks in advanced.

Software/Hardware used:
Lotus Note 8.5
ASKED: November 16, 2012  12:40 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question. Michael Tidmarsh   14,060 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

It might help if you included the code for your duration function.

 2,725 pts.

 

I need to know your code, are you using lotus script or formula language. Use formula language @businessdays , this give error free result. Check your date field and v alue which is capturing in this field, is it containing time along with the date.

 1,080 pts.