PSAActivitySetup::calcDuration Method
Calculate duration of activity in days
Syntax
client server public static Days calcDuration(
TransDate _startDate,
TransDate _endDate,
CalendarId _calendarId)
Run On
Called
Parameters
- _startDate
Type: TransDate Extended Data Type
Start date of the activity.
- _endDate
Type: TransDate Extended Data Type
End date of the activity.
- _calendarId
Type: CalendarId Extended Data Type
Calendar id of the activity.
Return Value
Type: Days Extended Data Type
Duration of the activity in days.