Modify the time format:
Date ("Y-m-d", Strtotime ($list [' pubdate ']));
Learn to interpret: Put the time in strtotime for the time stamp and use date () to convert the format. The following two functions are written
PHP Strtotime () function
The strtotime () function resolves the datetime description of any English text to a Unix timestamp.
Grammar
Strtotime (time,now) parameter description
TIME specifies a string of times to parse.
Now is used to calculate the timestamp of the return value. If this argument is omitted, the current time is used.
The PHP date () function formats the timestamp as a date and time that is more readable.
Grammar
Date (format,timestamp) parameter description
Format required. Specifies the format of the timestamp.
Timestamp is optional. Time stamp is specified. The default is the current date and time.
The above describes the Presentationfontcache.exe PHP modified time format of the code, including the presentationfontcache.exe aspects of the content, I hope that the PHP tutorial interested in a friend helpful.