{$time|strtotime|date="Y年m月d日",###}
$time 是日期字符串,一般后臺的時間是"Y-m-d h:i:s"
strtotime()把字符串轉化為時間整數(shù)
date(format, timestamp) 把整數(shù)時間timestamp按照format格式轉換為字符串
"###"表示前面的變量在date函數(shù)中的傳入位置
{$time|strtotime|date="Y年m月d日",###}
$time 是日期字符串,一般后臺的時間是"Y-m-d h:i:s"
strtotime()把字符串轉化為時間整數(shù)
date(format, timestamp) 把整數(shù)時間timestamp按照format格式轉換為字符串
"###"表示前面的變量在date函數(shù)中的傳入位置