js時間倒計時(三)

<script type="text/javascript"> function TimeTo(dd){ var t = new Date(dd),//取得指定時間的總毫秒數 n = new Date().getTime(),//取得當前毫秒數 c = t - n;//獲得時間差 if(c<=0){//若是差小於等於0 也就是過時或者正好過時,則推
相關文章
相關標籤/搜索