Advertisement
Guest User

Untitled

a guest
Oct 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. let id = "59d5eb8454ca337be9bcc57b";
  2.  
  3. let time = id.slice(0, 8);
  4. let mac = id.slice(8, 14);
  5. let pid = id.slice(14, 18);
  6. let counter = id.slice(18, 24);
  7.  
  8. console.log(time: ${new Date(parseInt('0x59d5eb84') * 1000).toUTCString()});
  9. console.log(mac address: ${mac});
  10. console.log(process id: ${parseInt('0x' + pid)});
  11. console.log(counter: ${counter});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement