SwatchUtils.ToDouble method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time.Swatch |
---|---|
Assembly | Skybrud.Essentials.dll |
ToDouble(DateTime)
Static
Returns the specified timestamp
as Swatch Internet Time.
public static double ToDouble(DateTime timestamp)
ToDouble(DateTimeOffset)
Static
Returns the specified timestamp
as Swatch Internet Time.
public static double ToDouble(DateTimeOffset timestamp)
Parameters
timestamp
DateTimeOffset
An instance of DateTimeOffset representing the timestamp.
ToDouble(EssentialsTime)
Static
Returns the specified timestamp
as Swatch Internet Time.
public static double ToDouble(EssentialsTime timestamp)
Parameters
timestamp
EssentialsTime
An instance of EssentialsTime representing the timestamp.