看板
[ Ajax ]
討論串[問題] javascript 顯示現在時間,不足12自動補0
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
正規式一行解,試試看吧. <script language="javascript">. RightNow = new Date();. document.write(((RightNow.getMonth()+1)+ "-" + RightNow.getDate() + "-" +. RightN
(還有64個字)
內容預覽:
RightNow = new Date();. alert(. (. RightNow.getMonth()+1)+ "-" +. RightNow.getDate() + "-" +. RightNow.getFullYear() + " " +. (. RightNow.getHours() <
(還有183個字)
內容預覽:
如題, 想再往業的第一行能顯示目前的日期與時間. <script language="javascript">. RightNow = new Date();. document.write((RightNow.getMonth()+1)+ "-" + RightNow.getDate() + "-
(還有255個字)
首頁
上一頁
1
下一頁
尾頁