let date = new Date(); let now = `${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}`; console.log(now)