Calculate the start and end timestamp of the day to the data of the day. [Php] ** + ------------------------------- * calculate the start and end timestamp of the current day to the data of the current day * + -------------------------- * $ daybeg1_totime (date (Ymd); $ da [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 ";
Compute/** + compute * calculate the start and end timestamp of the current day to the data of the current day * + -------------------------- */$ daybegin = strtotime (date (Ymd); $ da...