varstartTime="20170501"varendTime="20170430"varpattern=/(\d{4})(\d{2})(\d{2})/;varstartTime_f=startTime.replace(pattern,‘$1-$2-$3‘)varendTime_f=endTime.replace(pattern,‘$1-$2-$3‘)//转化后的时间格式startTime_f=“2017-05-01”endTime_f="2017-04-30"vartime1=Dat..
分类:
Web程序 时间:
2017-05-19 22:20:06
阅读次数:
172