psaaccess
Programmer
- Apr 14, 2008
- 18
Hi all,
On the form there is an input date field, after the update of the input field, the date field has to add days for that input date and give the next date excluding saturday,sunday's and holidays.
example: The input date is 05/26/2009, it will display on the next field 05/28/2009. It added 2 days and excluded saturday and sundays. I used below thread
FAQ705-3213: Calculating a future Workday Date.
But when I enter 07/02/2009 has to add 2 days including with 07/02/09 give out put date is 07/07/09. This excluded July 3rd holiday and saturday and sunday. It is giving 07/06/09 date.
How can I fix this problem?
I appreciate your help.
Thank you,
On the form there is an input date field, after the update of the input field, the date field has to add days for that input date and give the next date excluding saturday,sunday's and holidays.
example: The input date is 05/26/2009, it will display on the next field 05/28/2009. It added 2 days and excluded saturday and sundays. I used below thread
FAQ705-3213: Calculating a future Workday Date.
But when I enter 07/02/2009 has to add 2 days including with 07/02/09 give out put date is 07/07/09. This excluded July 3rd holiday and saturday and sunday. It is giving 07/06/09 date.
How can I fix this problem?
I appreciate your help.
Thank you,