将Y-m-d转换为Ymd

自己编写的,不能直接套用,理解后可自行变化: $var=explode(' ',$res['act_starting']); $var1=$var[0]; ...

Thu Oct 25 01:29:00 CST 2018 4 498
中国标准时间转换为--

u.timeChange=function(time){ var d = new Date(time); var datetime=d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate(); return datetime ...

Thu Oct 11 21:47:00 CST 2018 0 2308
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM