<?= date('Y-m-d',strtotime(UBasicInfoQuery::getById(UAllInfoQuery::getById($_GET["id"])->basic_id)->birthday));?> 

效果图:
php获取数据库里的时间时,过滤掉时分秒,只保留年月日

相关文章:

  • 2022-12-23
  • 2022-02-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
猜你喜欢
  • 2021-12-05
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
相关资源
相似解决方案