📜  php strtotime - PHP 代码示例

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

代码示例3
$date = '25/05/2010';
$date = str_replace('/', '-', $date);
echo date('Y-m-d', strtotime($date));