Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 2000-01-20
- // const chunks = key.split('-');
- // const year = Number(chunks[0]);
- // const month = Number(chunks[1]);
- // const day = Number(chunks[2]);
- // Date.UTC(year, month, day)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement