This is a very depressing problem. The smarty date_format function uploads a counter on the server redhat & nbsp; as4.0 and writes it using the smarty template. the display time is 116926-03-21 & nbsp; the correct time is. after several days of research, it seems that the date_format function of smarty cannot be used. if you forget to give me some advice, how can we fix it! ------ Solution ------- super depressing problem, smarty's date_format function
Upload a counter on the server redhat as4.0 and write it using the smarty template. the display time is 116926-03-21. the correct time is, after several days of research, it should be because the date_format function of smarty cannot be used. if you forget to give me some advice, how can we fix it!
------ Solution --------------------
In PHP, you need to convert it to the current timestamp.
Str2time
------ Solution --------------------
It's a timestamp problem! I also met !!
------ Solution --------------------
Let PHP deal with the time. do not engage in those things in the template.