html5页面添加时间戳

timestamp=getUrlParam("timestamps");  get

 function getUrlParam(name) {
   var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
   var r = window.location.search.substr(1).match(reg);
   if (r != null) return unescape(r[2]); return null;
  }io

 

var timestamp1 = Date.parse(new Date());
  var times = timestamp1-timestamp;function

相关文章
相关标签/搜索