php获取数据库里的时间时,过滤掉时分秒,只保留年月日时间:2024-03-31 18:14:14<?= date('Y-m-d',strtotime(UBasicInfoQuery::getById(UAllInfoQuery::getById($_GET["id"])->basic_id)->birthday));?> 效果图: