LogoRobo.js
Packages@robojs/mock

timestampToSnowflake()

Function: timestampToSnowflake()

function timestampToSnowflake(timestamp): string

Create a snowflake from a specific timestamp Useful for creating IDs that sort correctly by time

Parameters

ParameterType
timestampnumber

Returns

string

On this page