倒计时问题
var timedate= new Date("2017,12,25"); var now = new Date(); //获取当前时间 var date =timedate.getTime() - now.getTime(); var time =Math.ceil(date/(24*60*60*1000)); //1000 * 60 * 60 * 24一天的秒数 if(time > 0 ){ document.getElementById('timeShow').innerHTML = time"; } 请问以上代码哪里有错误?