[Php]/** + ----------------------------- * calculate the data from the start and end of the current day to the current day * + ---------------------------- */$ daybegin = strtotime (date (& quot; ymd & quot;); $ dayend = $ begin + 86
[Php]/*
* + -------------------------------
* Calculate the data of the day from the start point and end point timestamp.
* + ------------------------------
*/
$ Daybegin = strtotime (date ("Ymd "));
$ Dayend = $ begin + 86400;
$ Query = "SELECT * FROM 'info' WHERE addtime <$ dayend AND addtime> $ daybegin ";
/*
* + -------------------------------
* Calculate the data of the day from the start point and end point timestamp.
* + ------------------------------
*/
$ Daybegin = strtotime (date ("Ymd "));
$ Dayend = $ begin + 86400;
$ Query = "SELECT * FROM 'info' WHERE addtime <$ dayend AND addtime> $ daybegin ";