[This is preliminary documentation and is subject to change.]
Gets number of seconds 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 ToSecondsSinceUnixEpochStart(
this DateTime when
)
public static long ToSecondsSinceUnixEpochStart(
this DateTime when
)
<ExtensionAttribute>
Public Shared Function ToSecondsSinceUnixEpochStart (
when As DateTime
) As Long
<ExtensionAttribute>
Public Shared Function ToSecondsSinceUnixEpochStart (
when As DateTime
) As Long
public:
[ExtensionAttribute]
static long long ToSecondsSinceUnixEpochStart(
DateTime when
)
public:
[ExtensionAttribute]
static long long ToSecondsSinceUnixEpochStart(
DateTime when
)
static member ToSecondsSinceUnixEpochStart :
when : DateTime -> int64
static member ToSecondsSinceUnixEpochStart :
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).