PdcApplication.WorkingDate
Declaration
WorkingDate(StartDate as Date, NumOfDays as integer) as Date
Description
Returns the calculated date of a date plus the applied number of working days.
Notes
Returns the calculated date of a date plus the applied number of working days. The calculation is based on the table of non working days in PdC.
Code example
This example returns the number of working days of the following seven days from now. Normally the answer is 5.
msgbox pdc.NoOfWorkingDays(Date(), Date() + 7)
Availability
Available since April 2014 (from version 4.3)