const dateFromObjectId = (objectId) => new Date(parseInt(objectId.substring(0, 8), 16) * 1000);
Created
June 11, 2020 03:45
-
-
Save iamnivekx/9f1cbfea9ba6cbc156d8cd9d5386c53f to your computer and use it in GitHub Desktop.
JS mark
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment