You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
340 B
17 lines
340 B
<!DOCTYPE html>
|
|
<html>
|
|
<head></head>
|
|
<body>
|
|
<script type="text/javascript">
|
|
function printTime(){
|
|
var now = new Date();
|
|
var hours = now.getHours();
|
|
var mins = now.getMinutes();
|
|
var seconds = now.getSeconds();
|
|
document.write(hours+":"+mins+":"+seconds+"<br/>");
|
|
}
|
|
setInterval("printTime();", 1000);
|
|
</script>
|
|
</body>
|
|
</html>
|