📌  相关文章
📜  在一天中的特定时间调用 javascript 函数 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:14.845000             🧑  作者: Mango

代码示例1
setInterval(()=>{
let now = new Date();
//86400000 represents 10 hours in milliseconds Change it as you like
if(now.getTime() == 86400000 ){
  //your code
}
}, 1);