Converts specified DateTime value to short NTP time. Note: NTP time is in UTC.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static uint DateTimeToNTP32( DateTime value )
Public Shared Function DateTimeToNTP32 ( value As DateTime ) As UInteger
public: static unsigned int DateTimeToNTP32( DateTime value )
static member DateTimeToNTP32 : value : DateTime -> uint32
Parameters
- value (DateTime)
- DateTime value to convert. This value must be in local time.
Return Value
UInt32
Returns NTP value.
Returns NTP value.
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119