setInterval("increasetime()", 1000)

function increasetime(){
serverdate.setSeconds(serverdate.getSeconds()+1)
}