author:咔咔

wechat:fangkangfk

 

这是数据库

【PHP】获取每个月每天的数据,根据时间戳

【PHP】获取每个月每天的数据,根据时间戳

        // 获取每日活跃人数
        $activeNumber = Db::query("select FROM_UNIXTIME(time,'%Y-%m-%d')as date,COUNT(*) FROM active_number GROUP BY time");
        dump($activeNumber);die;

 

数据结构:

【PHP】获取每个月每天的数据,根据时间戳 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2021-12-28
  • 2021-12-26
  • 2022-12-23
相关资源
相似解决方案