www.ctrt.net > php里面的有这2句代码是这样的 $timE=timE();$ktim...

php里面的有这2句代码是这样的 $timE=timE();$ktim...

简单的有两种。 $time_now='2009-12-22 02:41:40'; 1:$tim=explode(' ',$time_now); echo $tim; 2: $timestamp = strtotime($time_now); $dat = date('Y-m-d', $timestamp); echo $dat;

网站地图

All rights reserved Powered by www.ctrt.net

copyright ©right 2010-2021。
www.ctrt.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com