Guest practice: this set is not saved and does not count.
What does this log?
const a = new Date(2026, 0, 1); const b = new Date(2026, 0, 31); console.log(Math.round((b - a) / (1000 * 60 * 60 * 24)));
const d = new Date(2026, 9, 2); console.log(d.getMonth(), d.getDate(), d.getDay());
new Date().now() is a valid way to get the current time in milliseconds.
new Date().now()
const start = new Date(2026, 9, 2); const end = new Date(start); end.setDate(10); console.log(start.getDate(), end.getDate());
console.log(new Date(2028, 2, 0).getDate());
Click a question to go back and check it. After you submit, you will see the right answer and an explanation for every question. As a guest, nothing is saved.
Check my answers