EssentialsDateTime.ToBinary method

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

ToBinary()

Serializes the internal DateTime object to a 64-bit binary value that subsequently can be used to recreate the DateTime object.

public long ToBinary()

Returns

A 64-bit signed integer that encodes the System.DateTime.Kind and System.DateTime.Ticks properties.