[This is preliminary documentation and is subject to change.]
Gets number of milliseconds since Unix epoch start (1970/1/1 0:0:0)
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static long ToMillisecondsSinceUnixEpochStart(
this DateTime when
)
public static long ToMillisecondsSinceUnixEpochStart(
this DateTime when
)
<ExtensionAttribute>
Public Shared Function ToMillisecondsSinceUnixEpochStart (
when As DateTime
) As Long
<ExtensionAttribute>
Public Shared Function ToMillisecondsSinceUnixEpochStart (
when As DateTime
) As Long
public:
[ExtensionAttribute]
static long long ToMillisecondsSinceUnixEpochStart(
DateTime when
)
public:
[ExtensionAttribute]
static long long ToMillisecondsSinceUnixEpochStart(
DateTime when
)
static member ToMillisecondsSinceUnixEpochStart :
when : DateTime -> int64
static member ToMillisecondsSinceUnixEpochStart :
when : DateTime -> int64
Return Value
Type:
Int64Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DateTime. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).