文章头部背景

Tags | 文章标签页: shell

扫一扫,分享到微信

微信分享二维码

关注【全栈工程师修炼指南】

weiyigeek

欢迎添加【作者】微信

weiyigeek
/01 00:00:00"); function ShowRunTime(id) { var NowDate = new Date(); var RunDateM = parseInt(NowDate - BootDate); var RunDays = Math.floor(RunDateM/(24*3600*1000)); var RunHours = Math.floor(RunDateM%(24*3600*1000)/(3600*1000)); var RunMinutes = Math.floor(RunDateM%(24*3600*1000)%(3600*1000)/(60*1000)); var RunSeconds = Math.round(RunDateM%(24*3600*1000)%(3600*1000)%(60*1000)/1000); var RunTime = RunDays + " 天 " + RunHours + " 时 " + RunMinutes + " 分 " + RunSeconds + " 秒"; document.getElementById(id).innerHTML = "网站已在风雨中勉勉强强运行了【 " + RunTime + " 】"; } setInterval("ShowRunTime('SiteRunTime')", 1000);

关注【全栈工程师修炼指南】

weiyigeek

欢迎添加【作者】微信

weiyigeek