获取当前时间的代码:xml文件中 <td><div align="center"><br/><strong>送检时间</strong></div></td><td><br/> <script type="text/javascript"> function getNowFormatDate() { var date = new Date(); va
var d = new Date();var date = d.getFullYear() + "年" +(d.getMonth() + 1) + "月" + d.getDate() + "日"; var myDate = new Date();myDate.getYear(); //获取当前年份(2位)myDate.getFullYear(); //获取完整的年份(4位,1970-????)myDate.getMonth()