<body> <script> date=new Date(); setInterval(function(){document.body.appendChild(document.createTextNode(-date+ +(date=new Date())+' | '))},100) </script> </body>