Millwork
Home
Guide
GitHub
Preparing search index...
@millwork-ts/core
snowflakeTime
Function snowflakeTime
snowflakeTime
(
id
:
bigint
,
epoch
?:
bigint
)
:
number
Gives the time of a snowflake in milliseconds since the Unix epoch.
Parameters
id
:
bigint
epoch
:
bigint
= TWITTER_EPOCH
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Home
Guide
GitHub
Millwork
Loading...
Gives the time of a snowflake in milliseconds since the Unix epoch.