摘要:
1.转换为标准时间 2.转化为当地时间: toLocaleString() :2018/2/9 下午3:04:06 toUTCString() :Fri, 09 Feb 2018 07:05:23 GMT 3. Date.parse 指定的日期和时间据 1970/1/1 午夜(GMT 时间)之间的毫 阅读全文
摘要:
function IEVersion() { var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE... 阅读全文