Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let d = new Date();
- let id = d.getDay() - 1; // esse se refere ao id no json
- if (id >= 0 && id <= 5) {
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement