TimerItemGetTimeSpan Method

Return the time elapsed from start to end or since the timer was started.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public static TimeSpan GetTimeSpan(
	TimerItem timer
)

Parameters

timer  TimerItem
Reference to the timer to inspect.

Return Value

TimeSpan
Reference to a time span reflecting the time elapsed from start to end, if the timer has been stopped, or since the start, if the timer is still running.

See Also