[PHP] PHP 格式化日期 format the datetime in PHP
Let say the type of column of "created" is datetime,
date("Y/m/d", strtotime($result['created']));
Let say the type of column of "created" is datetime,
date("Y/m/d", strtotime($result['created']));