DateRangeItemTotalHours Method

Return the total number of hours in the provided date range.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public static float TotalHours(
	DateRangeItem dateRange
)

Parameters

dateRange  DateRangeItem
Reference to the date range to measure.

Return Value

Single
The total number of decimal hours in the provided date range, if valid. Otherwise, 0.

See Also