Table of Contents

Method GetSnowflakeTime

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetSnowflakeTime(ulong)

Computes a timestamp from a given snowflake.

public static DateTimeOffset GetSnowflakeTime(this ulong snowflake)

Parameters

snowflake ulong

Snowflake to compute a timestamp from.

Returns

DateTimeOffset

Computed timestamp.

GetSnowflakeTime(ulong?)

Computes a timestamp from a given snowflake.

public static DateTimeOffset? GetSnowflakeTime(this ulong? snowflake)

Parameters

snowflake ulong?

Snowflake to compute a timestamp from.

Returns

DateTimeOffset?

Computed timestamp.