📅  最后修改于: 2022-03-11 15:02:14.845000             🧑  作者: Mango
setInterval(()=>{
let now = new Date();
//86400000 represents 10 hours in milliseconds Change it as you like
if(now.getTime() == 86400000 ){
//your code
}
}, 1);