EssentialsDateTime.FromUnixTimestamp method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

FromUnixTimestamp(int)

Static

Initialize a new instance from the specified UNIX timestamp.

public static EssentialsDateTime FromUnixTimestamp(int timestamp)

Parameters

timestamp int

The UNIX timestamp specified in seconds.

Returns

FromUnixTimestamp(long)

Static

Initialize a new instance from the specified UNIX timestamp.

public static EssentialsDateTime FromUnixTimestamp(long timestamp)

Parameters

timestamp long

The UNIX timestamp specified in seconds.

Returns

FromUnixTimestamp(double)

Static

Initialize a new instance from the specified UNIX timestamp.

public static EssentialsDateTime FromUnixTimestamp(double timestamp)

Parameters

timestamp Double

The UNIX timestamp specified in seconds.

Returns