PdcApplication.WorkingDate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
== Code example == | == Code example == | ||
This example returns the | This example returns the calculated date of today plus 5 working days. Normally the answer is today plus 7 days. | ||
<source lang="vb"> | <source lang="vb"> | ||
msgbox pdc. | msgbox pdc.WorkingDate(Date(), 5) | ||
</source> | </source> | ||
== Availability == | == Availability == | ||
Available since April 2014 (from version 4.3) | Available since April 2014 (from version 4.3) |
Revision as of 14:44, 22 April 2014
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 calculated date of today plus 5 working days. Normally the answer is today plus 7 days.
msgbox pdc.WorkingDate(Date(), 5)
Availability
Available since April 2014 (from version 4.3)