js时间倒计时(三)

<script type="text/javascript"> function TimeTo(dd){ var t = new Date(dd),//取得指定时间的总毫秒数 n = new Date().getTime(),//取得当前毫秒数 c = t - n;//获得时间差 if(c<=0){//若是差小于等于0 也就是过时或者正好过时,则推
相关文章
相关标签/搜索