正文获取服务器时间js代码IP云V管理员/2022-09-27/4 阅读 09/27提示:扫一扫查出行【扫一扫了解最新限行尾号】复制提示function getSevertime(){var xmlHttp = new XMLHttpRequest();if( !xmlHttp ){xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");}xmlHttp.open("HEAD",location.href,false);xmlHttp.send();var severtime=new Date(xmlHttp.getResponseHeader("Date"));return severtime;}