显示当前时间 setInterval( function getNowTime() { var nowTime = new Date(); var nowYear = nowTime.getFullYear().toString(); //获取当前年份 var nowMonth = (nowTime.getMonth() + 1).toString(); //获取当前月份 var nowDay = nowTime.getDate().toString(); //获取当前日期 var nowHou
<title>无标题页</title> <script language="javascript" type="text/javascript"> var t; function show() { var date = new Date(); //日期对象 var now = ""; now = date.getFullYear() + "年"; //读英文就行了 now = now + (