use*_*369 0 php time strtotime mktime
通过xml,我得到的变量以这种格式给出时间:2012-06-25 19:00:00
我希望它以这种格式转换:6月25日 - 晚上7:00
我看过mktime和strtotime,但我不知道如何处理作为日期和时间的格式.
ale*_*exn 5
如你所说,你可以使用strtotime:
echo date('F-m - h:iA', strtotime($old_format));
归档时间:
13 年,4 月 前
查看次数:
106 次
最近记录: