切换布局
显示结果
<html> <head> <title>JavaScript toTimeString Method</title> </head> <body> <script type = "text/javascript"> var dateobject = new Date(2010, 6, 28, 14, 39, 7); document.write( dateobject.toTimeString() ); </script> </body> </html>