摘要: functioncounter(){vardate=newDate();varyear=date.getFullYear();vardate2=newDate(year,12,31,23,59,59);//注意下面的时间表示方法!!vartime=(date2-date)/1000;varday=Math.floor(time/(24*60*60))varhour=Math.floor(time%(24*60*60)/(60*60))varminute=Math.floor(time%(24*60*60)%(60*60)/60);varsecond=Math.floor(time%(24*60 阅读全文
posted @ 2013-08-29 17:21 Mancy 阅读(235) 评论(0) 推荐(0) 编辑