JavaScript 取得今天日期

<script language="javascript">

var Today = new Date();

document.write("今天日期:" + Today.getFullYear() + " 年 " + (Today.getMonth() + 1) + " 月 " + Today.getDate() + " 日");

</script>

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *