Modify the time format:
date("Y-m-d",strtotime($list['pubdate']));
Learning explanation: Put the time into strtotime as a timestamp and use date() to convert the format. Two functions are written below
PHP strtotime() function The
strtotime() function parses the datetime description of any English text into a Unix timestamp.
Syntax
strtotime(time,now) Parameter Description
time specifies the time string to be parsed.
now is the timestamp used to calculate the return value. If this parameter is omitted, the current time is used.
PHP Date() function can format timestamp into a more readable date and time.
Syntax
date(format,timestamp) Parameter Description
format required. Specifies the format of the timestamp.
timestamp optional. Specify timestamp. The default is the current date and time.
The above introduces the code for presentationfontcache.exe PHP to modify the time format, including the content of presentationfontcache.exe. I hope it will be helpful to friends who are interested in PHP tutorials.