PHP获取每个时间段的时间戳
//每周一
$a = strtotime('this week Monday',time());
//每月初一
$b = strtotime(date('Y-m-01'));
//昨天
$c = strtotime("-1 day");
//今天
$d = strtotime("now");
//名天
$e = strtotime("+1 day");
//上一个周三
$f = strtotime("last Wednesday");
//下一个周五
$g = strtotime("next Friday");
//上月
$h = strtotime("last month");
//下月
$i = strtotime("next month");
//去年
$j = strtotime("-1 year");
//明年
$k = strtotime("+1 year");
//2008年8月8日
$l = strtotime("2008-08-08");
//2021年8月8日
$m = strtotime("08 August 2021");
//一年二个月三天四小时五分钟六秒后
$n = strtotime("+1 year 2 month 3day 4 hours 5 minutes 6 seconds");