UnixEpoch.FromUnixTime Method (Int64)
Converts the number of seconds since midnight (UTC) on 1st January 1970 to date.
Namespace: Microsoft.Azure.KeyVault
Assembly: Microsoft.Azure.KeyVault (in Microsoft.Azure.KeyVault.dll)
Syntax
public static DateTime FromUnixTime(
long seconds
)
public:
static DateTime FromUnixTime(
long long seconds
)
static member FromUnixTime :
seconds:int64 -> DateTime
Public Shared Function FromUnixTime (
seconds As Long
) As Date
Parameters
seconds
Type: System.Int64The number of seconds since midnight (UTC) on 1st January 1970.
Return Value
Type: System.DateTime
The date in UTC form.
See Also
UnixEpoch Class
Microsoft.Azure.KeyVault Namespace
Return to top