计算当天起始点和结束点时间戳 去当天的数据_PHP教程
程序员文章站
2022-05-12 20:09:20
...
[php] /*
*+ -------------------------------
* 计算当天起始点和结束点时间戳 去当天的数据
*+ ------------------------------
*/
$daybegin=strtotime(date("Ymd"));
$dayend=$begin+86400;
$query = "SELECT * FROM `info` WHERE addtime$daybegin";
*+ -------------------------------
* 计算当天起始点和结束点时间戳 去当天的数据
*+ ------------------------------
*/
$daybegin=strtotime(date("Ymd"));
$dayend=$begin+86400;
$query = "SELECT * FROM `info` WHERE addtime$daybegin";
/*
*+ -------------------------------
* 计算当天起始点和结束点时间戳 去当天的数据
*+ ------------------------------
*/
$daybegin=strtotime(date("Ymd"));
$dayend=$begin+86400;
$query = "SELECT * FROM `info` WHERE addtime$daybegin";