$d = '20-04-2001';
echo date('Y-m-d',strtotime($d));
output 2025-09-22
它认为它可能版本问题当前使用 PHP 版本 4.4.6
strtotime 解析日期,仅采用特定格式。你可以看到 http://php.net/manual/en/datetime.formats.date.php