摘要: //Step1: 定义任务函数: 计算当前时间距离target时间的时间差 var target=new Date("2019/3/01 18:00:00"); function calc(){ //获得当前系统时间保存在变量now中 var now=new Date(); //用target-no 阅读全文
posted @ 2019-03-01 11:00 教父123 阅读(153) 评论(0) 推荐(0) 编辑