EpochTime.DateTime(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.