加上 判断为什么不可以 求帮助
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>团购——限时抢</title>
</head>
<body>
<div class="content3">
<div class="time">还剩 <span id="LeftTime"></span></div>
</div>
</body>
<script>
showTime()
function showTime(){
var endtime=new Date("2016/6/16,12:20:12")
var nowtime = new Date()
var lefttime= parseInt((endtime.getTime()-nowtime.getTime())/1000)
var d= parseInt(lefttime/(60*24*60))
var h= parseInt(lefttime/(60*60)%24)
var m= parseInt(lefttime/60%60)
var s= parseInt(lefttime%60)
m=checktime(m)
s=checktime(s)
document.getElementById("LeftTime").innerHTML=d+"天"+h+"小时"+m+"分"+s+"秒";
if(lefttime<=0){
document.getElementById("LeftTime").innerHTML="团购结束"
}
setTimeout(showTime,500)
}
function checktime(i){
if(i<10){
i="0"+i;
}else{
return i;
}
}
</script>
</html>