-
Notifications
You must be signed in to change notification settings - Fork 0
Util.snowflake()
paige edited this page Oct 30, 2023
·
2 revisions
turns a date into a snowflake
type: Function
arguments:
- date
Date
let dt = new Date("2018-11-28T09:01:00.000Z"); // November 28, 2018
util.snowflake(dt); // 517263631319040000