如何将 php Sun 10-04-19 中的日期格式更改为 10-04-2019 请帮忙,谢谢,
这是我的代码
$content1="Sun 10-04-19";
$newformat = strtotime($content1);
echo date('d-m-Y',$newformat);
输出
25-04-2010
噜噜哒
相关分类