const nowMil = Date.now();
const nowDateType = new Date(nowMil);
const tomorrowMil = Date.now() + 86400000;
const tomorrowDateType = new Date(tomorrowMil);
한 시간 후
그래서 이런식으로 하면 지금 기준 24시간 내에 모든 시간을 고를 수 있게 된다.
for (let i = 1; i <= 24; i++) {
console.log(new Date(Date.now() + 3600000 * i));
}