[JS10] 获取时间

时间:2014-05-14 12:23:38   收藏:0   阅读:246

 

bubuko.com,布布扣
 1 <html>
 2 <head>
 3     <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
 4         <title>New Page 1</title>
 5     <meta name="GENERATOR" content="Microsoft FrontPage 3.0">
 6 </head>
 7 <body>
 8     <p><script language="JavaScript">
 9     <!--
10         day=new Date()
11         rs=day.toLocaleString()
12         document.write("现在时间是: "+rs)
13     // --></script></p>
14 </body>
15 </html>
bubuko.com,布布扣

 

[JS10] 获取时间,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!