📜  格式化日期 css 代码示例

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

代码示例1
$date_array = explode("/",$date); // split the array
$var_day = $date_array[0]; //day seqment
$var_month = $date_array[1]; //month segment
$var_year = $date_array[2]; //year segment
$new_date_format = "$var_year-$var_day-$var_month"; // join them together