演
示
源
代
碼
**年**月**日
註釋:放在<body>與</body>之間
<script language="JavaScript"> <!-- tmpDate = new Date(); date = tmpDate.getDate(); month= tmpDate.getMonth() + 1 ; year= tmpDate.getYear(); document.write(year); document.write("年"); document.write(month); document.write("月"); document.write(date); document.write("日"); // --> </script>
當前位置:
首 頁
→
JavaScript
→
日期時間
→**年**月**日
··萬旭網站工作室 設計發佈··