PSAActivitySetup::calcDurationInHours Method
Calculate duration of the activity in hours.
Syntax
client server public static Hours calcDurationInHours(
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: Hours Extended Data Type
Activity duration hours.