DateTimeOffsetExtensions.GetElapsedSeconds method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
GetElapsedSeconds(DateTimeOffset)
Extension method
Gets the amount elapsed seconds since the specified date
.
public static double GetElapsedSeconds(this DateTimeOffset date)
Parameters
date
DateTimeOffset
An instance of DateTimeOffset representing the date.
Returns
The elapsed seconds since the input DateTimeOffset .