Adjust business days

Hi All,

I am trying to set a date field with a value, that value is a number variable,

How could I use adjust in script and yet not calculating the weekends and holidays…

NumberField = 17 days - weekends and holidays…

e.i.

DateField = Today + NumberField

Is this possible…

thanks

paul,

Subject: adjust business days

http://www-10.lotus.com/ldd/nd6forum.nsf/Search?SearchView&Query=businessdays%20and%20evaluate&SearchOrder=0&Start=1&Count=100

Subject: adjust business days

As you are already having number of days in your ‘Number field’, you can adjust it using AjustDay method of NotesDateTime Class:

Dim dt As New NotesDateTime(Today)

Call dt.AdjustDay(NumberField)

to get the date part from ‘dt’ object, tmp$ = dt.DateOnly.

Go thru NotesDateTime Class for any particular property or method in designer help.