Created
November 19, 2022 12:14
-
-
Save KBPsystem777/924a6ae43cb118a6a41508496b00e36c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Setting a unix lock date for ML | |
new Date("10/17/2024").getTime() / 1000; // Returns 1729094400 | |
// Decoding a unix lock date | |
new Date(1729094400 * 1000); // Returns Sun Dec 25 2022 00:00:00 GMT+0800 (Philippine Standard Time) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment