切换布局
显示结果
<html> <head> <title>JavaScript getSeconds Method</title> </head> <body> <script type = "text/javascript"> var dt = new Date( "December 25, 1995 23:15:20" ); document.write("getSeconds() : " + dt.getSeconds() ); </script> </body> </html>