EssentialsTime.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 EssentialsTime FromUnixTimestamp(int timestamp)

Parameters

timestamp int

The UNIX timestamp specified in seconds.

Returns

An instance of EssentialsTime.

FromUnixTimestamp(long)

Static

Initialize a new instance from the specified UNIX timestamp.

public static EssentialsTime FromUnixTimestamp(long timestamp)

Parameters

timestamp long

The UNIX timestamp specified in seconds.

Returns

An instance of EssentialsTime.

FromUnixTimestamp(double)

Static

Initialize a new instance from the specified UNIX timestamp.

public static EssentialsTime FromUnixTimestamp(double timestamp)

Parameters

timestamp Double

The UNIX timestamp specified in seconds.

Returns

An instance of EssentialsTime.