标签: php datetime
"Thu Jun 20 2019 00:00:00 GMT+0200 (Central European Summer Time) "在php中转换为"yyyy-mm-dd"
"Thu Jun 20 2019 00:00:00 GMT+0200 (Central European Summer Time) "
"yyyy-mm-dd"
$newDate="Thu Jun 20 2019 00:00:00 GMT+0200 (Central European Summer Time)";
请帮助我,我想将$newDate转换为yyyy-mm-dd格式。
$newDate
yyyy-mm-dd