摘要:
function datePad(num, n){ if( ( num + "" ).length >= n ) return num; //一位数 return arguments.callee( "0" + num, n ); //两位数 } Common.type.isDate: functi 阅读全文
摘要:
function compareStrTime( timeStart , timeEnd ) { var dateA = new Date("2018/10/11 " + timeStart); var dateB = new Date("2018/10/11 " + timeEnd); if(isNaN(dateA) || isNaN(dateB)) ... 阅读全文