Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Tijden berekenen.
- let daysLeft = Math.floor(timeLeft / (1000 * 60 * 60 * 24));
- let hrsLeft = Math.floor((timeLeft % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
- let minsLeft = Math.floor((timeLeft % (1000 * 60 * 60)) / (1000 * 60));
- let secsLeft = Math.floor((timeLeft % (1000 * 60)) / 1000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement