<script type="text/javascript">
function checkTime(){
var nowtime=Date.parse(new Date());
console.log(nowtime);
}
setInterval("checkTime()","1000");
</script>
<script type="text/javascript">
function checkTime(){
var nowtime=Date.parse(new Date());
console.log(nowtime);
}
setInterval("checkTime()","1000");
</script>