🌈 搜索
📅  最后修改于: 2022-03-11 14:53:37.535000             🧑  作者: Mango
$var = '21/05/2012'; $date = str_replace('/', '-', $var); echo date('Y-m-d', strtotime($date))