<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>倒计时</title>
<script type="text/javascript">
function getTime(){
// alert(11);
var now=new Date();
var target=new Date(2015,5,28,17);
var time=target.getTime()-now.getTime();
var day=Math.floor(time/(1000*60*60*24));
var hour=Math.floor(time/(1000*60*60*24))/(1000*60*60);
var minute=Math.floor(time/(1000*60*60*24))/(1000*60);
var second=Math.floor(time/(1000*60*60*24))/(1000);
var str = "距离培训结束日2014年6月18日17:00还有:" + day + "天" + hour + "小时" + minute + "分" + second + "秒";