Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let id = "59d5eb8454ca337be9bcc57b";
- let time = id.slice(0, 8);
- let mac = id.slice(8, 14);
- let pid = id.slice(14, 18);
- let counter = id.slice(18, 24);
- console.log(time: ${new Date(parseInt('0x59d5eb84') * 1000).toUTCString()});
- console.log(mac address: ${mac});
- console.log(process id: ${parseInt('0x' + pid)});
- console.log(counter: ${counter});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement