|
<script type="text/javascript"> |
|
|
|
|
|
|
var today=new Date(); |
|
|
document.write(today); |
|
|
setInterval("location.reloard()",1000); |
|
|
// setInterval = run at interval // location = current page // reloard() = refresh // 1000 = 1 second |
|
|
|
|
|
//]]]]]]> |
|
|
</script> |
← Back to feed
Renewal·서른의 생활코딩
Sample Source 4) JavaScript Basic Document Structure: Window Object 2) Time Method
This English version was translated by Claude.
