方法1:
//list($first,$second)=explode(” “,$date_temp);
// echo $first;
//echo substr($first,2)
方法2:
// echo date(“Y-m-d”, strtotime( $date_temp ) );
方法3:
echo substr($date_temp,0,10).”
“;
//会员退出 使用框架的情况下
session_start();//只要用到SESSION就必须要session_start
session_destroy();
echo “”;
echo “”;
以上就是php中的时间显示的详细内容,更多请关注gaoda来源gao@!dai!ma.com搞$$代^@码网ima搞代码网其它相关文章!