snowflakeToTimestamp

Converts a Discord snowflake to its unix millisecond timestamp.

Signature

export declare function snowflakeToTimestamp(id: string): number;
JSDoc
Parameters
id
The snowflake to convert.
Returns

The unix millisecond timestamp.

Members

This export does not declare public properties or methods in the generated declaration file.