📌  相关文章
📜  在 PHP 代码示例中将 DateTime 转换为字符串

📅  最后修改于: 2022-03-11 14:53:48.140000             🧑  作者: Mango

代码示例6
phpCopy$date = explode("/",date('d/m/Y/h/i/s')
list($day,$month,$year,$hour,$min,$sec) = $date);
echo $month.'/'.$day.'/'.$year.' '.$hour.':'.$min.':'.$sec;

//output: 03/08/2020 02:01:06