// Make an instance or object of the Date constructor const currentDate = new Date(); // get the current month number const monthNumber = currentDate.getMonth(); console.log(monthNumber); // eg: 8