Freigeben über


EpochTime.DateTime(Int64) Method

Definition

Creates a DateTime(Int64) from epoch time.

public static DateTime DateTime (long secondsSinceUnixEpoch);
static member DateTime : int64 -> DateTime
Public Shared Function DateTime (secondsSinceUnixEpoch As Long) As DateTime

Parameters

secondsSinceUnixEpoch
Int64

The number of seconds since Unix Epoch.

Returns

The DateTime in UTC.

Applies to