const tm = () => { var Data = new Date(); var Hour = Data.getHours(); var Minutes = Data.getMinutes(); console.log("Текущее время: "+Hour+":"+Minutes+""); setTimeout(tm, 1000 * 60) } tm()