TimeHelper.GetElapsedSeconds method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

GetElapsedSeconds(DateTime)

Static

Gets the elapsed seconds since the specified date.

public static double GetElapsedSeconds(DateTime date)

Parameters

date DateTime

The date.

Returns

The elapsed seconds since date.

GetElapsedSeconds(DateTimeOffset)

Static

Gets the elapsed seconds since the specified date.

public static double GetElapsedSeconds(DateTimeOffset date)

Parameters

The date.

Returns

The elapsed seconds since date.