胖在一方

出得厅堂入得厨房的胖子

导航

2008年3月5日

摘要: 设置时间间隔有2种方法 setTimeout Evaluates an expression after a specified number of milliseconds has elapsed iTimerID = window.setTimeout(vCode, iMilliSeconds [, sLanguage]) var setID; setID=... 阅读全文

posted @ 2008-03-05 17:19 胖在一方 阅读(473) 评论(0) 推荐(0)

摘要: ECMAScript把日期存储为距离UTC时间1970年1月1日凌晨12点的豪秒数. UTC是 Universal Time Code(通用时间代码,也叫Greenwich Mean Time格林尼治标准时间) var d =new Date(); // 默认就是当天的日期和时间 alert(d.toLocaleDateString()); //o... 阅读全文

posted @ 2008-03-05 17:04 胖在一方 阅读(363) 评论(0) 推荐(0)