DateTimeExtensionsGetTimespanBetweenDates Method |
Gets the timespan between two dates
Namespace: Entelect.ExtensionsAssembly: Entelect (in Entelect.dll) Version: 0.0.79
Syntaxpublic static TimeSpan GetTimespanBetweenDates(
DateTime startDate,
DateTime endDate
)
Parameters
- startDate
- Type: SystemDateTime
Start date - endDate
- Type: SystemDateTime
End date subtracted from start date
Return Value
Type:
TimeSpanTime difference
See Also