EssentialsDateTime.ToFileTimeUtc method

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

ToFileTimeUtc()

Converts the value of the internal DateTime object to a Windows file time.

public long ToFileTimeUtc()

Returns

The value of the internal DateTime object expressed as a Windows file time.

Exceptions

The resulting file time would represent a date and time before 12:00 midnight January 1, 1601 C.E. UTC.