Very basic JavaScript.
You should do something like:
let currentHour = new date().getHour();//it'll pull the current round hour.
let checkIntervalInSeconds = 60;//check the time every 60 seconds
setInterval(() => {checkTime()}, checkIntervalInSeconds * 1000);
function checkTime(){
currentHour = new date().getHour();
if (currentHour === 14) {
//code for whatyou want to do if it's 2PM
}
}