日期
<script language="JavaScript" class="unnamed1">
var enabled = 0;
today = new Date();
var day;
var date;
if(today.getDay()==0) day = "星期日"
if(today.getDay()==1) day = "星期一"
if(today.getDay()==2) day = "星期二"
if(today.getDay()==3) day = "星期三"
if(today.getDay()==4) day = "星期四"
if(today.getDay()==5) day = "星期五"
if(today.getDay()==6) day = "星期六"
date=(today.getYear())+"年"+(today.getMonth()+1)+"月"+today.getDate()+"日";
document.write("<span style="font-size:12px;" >");
document.write(date);
document.write("&nbsp;");
document.write(day);
document.write("</span>");
</script>

Admin99.Cn大部分资源包括文章教程来自网络,供站长学习研究使用。如侵犯了您的权益,请及时联系我们改正或删除。如下载后安装碰到困难请联系QQ677123帮助。 同时我们呼吁站长应该严格遵守互联网法律法规建站。净化网络,站长更有责!
久久源码网 » JS显示当前日期