Converts specified DateTime value to long NTP time. Note: NTP time is in UTC.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static ulong DateTimeToNTP64( DateTime value )
Public Shared Function DateTimeToNTP64 ( value As DateTime ) As ULong
public: static unsigned long long DateTimeToNTP64( DateTime value )
static member DateTimeToNTP64 : value : DateTime -> uint64
Parameters
- value (DateTime)
- DateTime value to convert. This value must be in local time.
Return Value
UInt64
Returns NTP value.
Returns NTP value.
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119