计算当天起始点和结束点时间戳 去当天的数据_PHP教程
程序员文章站
2022-04-09 22:37:22
...
[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";