js日期字符串格式化成时间戳

createTimeGte = createTimeGte + ' 00:00:00';
ctg =  new Date(createTimeGte).getTime()/1000;
createTimeLte = createTimeLte + ' 23:59:59';
ctl = new Date(createTimeLte).getTime()/1000;

猜你喜欢

转载自www.cnblogs.com/anjunshuang/p/9361687.html