摘要:
function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象 var r = window.location.search.substr(1).mat 阅读全文
摘要:
Date.prototype.Format = function(fmt) { // author: meizz var o = { "M+": this.getMonth() + 1, // 月份 "d+": this.getDate(), // 日 "h+": this.getHours(), 阅读全文
摘要:
function DateTime(Tid) { var now = new Date(); var validDate = "", day = now.getDate(), month = now.getMonth(), year = now.getFullYear(); var nowTime 阅读全文