DateTimeExtensions..::..Elapsed Method

Get the elapsed time since the input DateTime

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static TimeSpan Elapsed(
	DateTime input
)

Parameters

input
Type: DateTime
Input DateTime

Return Value

Returns a TimeSpan value with the elapsed time since the input DateTime

Examples


TimeSpan elapsed = dtStart.Elapsed();