window['serverTime'] = 1734540436; window['intervalServerTime']=Math.ceil(Date.parse(new Date())/1000)-window['serverTime']; function getCurrentTimestamp(){return Math.ceil(Date.parse(new Date())/1000)-window['intervalServerTime'];} setInterval(function(){window['serverTime']=getCurrentTimestamp(),1000});