hcl-bot
1
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,
hcl-bot
2
hcl-bot
3
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.