钮门快递软件 >> 快递网站制作
网页显示当前电脑年份、月份、日期、星期、时间
<-SCRIPT language=JAVASCRIPT>
var iweek = new Array(7);
iweek[0] = "天" ;
iweek[1] = "一" ;
iweek[2] = "二" ;
iweek[3] = "三" ;
iweek[4] = "四" ;
iweek[5] = "五" ;
iweek[6] = "六" ;
var today = new Date();
var iyear = today.getYear() ;
var imonth = today.getMonth() + 1 ;
var idate = today.getDate() ;
iyear = (iyear<2000)?(iyear+1900):(iyear) ;
document.write(" 当前时间是: "+iyear+"年"+imonth+"月"+idate+"日 星期"+iweek[today.getDay()]) ;
<-/SCRIPT>
钮门快递软件|EMMIS[2013.09.28-14:54]编辑:钮门快递软件|EMMIS 访问:4208
※※相关信息专题※※
§网页JS脚本
您可能还感兴趣的关联教程文章↓
QQ快递资源群分享1(国际快递代理)
用微信或者QQ扫描即可添加
|
QQ快递资源群分享2(邮政国际小包)
用微信或者QQ扫描即可添加
|
QQ快递资源群分享2(国际快递|航空专线)
用微信或者QQ扫描即可添加
|