lcxin
// 获取当天时间戳
$day = mktime(0,0,0);
//获取7天前的时间戳
$week = strtotime("-7 day",$day);
// 获取当天时间戳
$day = mktime(0,0,0);

//获取当天前30天的时间戳
$tb_tb = strtotime("-1 month", $day);

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2019-03-01
  • 2022-12-23
  • 2021-11-29
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
相关资源
相似解决方案