function addHours(hours, date = new Date()) { let ms = hours * 60 * 60 * 1000; date.setTime(date.getTime() + ms); return date; }