摘要:
JavaScript获取系统当前日期和时间、星期几方法一:script language="javascript"var mydate=new Date();var myyear=mydate.getYear();var mymonth=mydate.getMonth()+1;//注:月数从0~11为一月到十二月var mydat=mydate.getDate();var myhours=mydate.getHours();var myminutes=mydate.getMinutes();var myseconds=mydate.getSeconds()var myday=mydate. 阅读全文