Day: April 1, 2014
-
Post Views: 11 Final print code: print_r($_post); echo(date(y-. $_post[‘start_time’].-01 00:00:00)); echo(date(Y-M-T 23:59:59, strtoTime(date(y-. $_post[‘end_time’].)))); echo exit(); Print result: array ([CustomerRebate]=> array ([money]=> 1000[sale_uid]=> 31 )[start_time]=> 1[end_time]=> 10[yt0]=> confirm ) 2014-1-01 00:00:002014-10-31 23:59:59 Perfect support for reading the first day and last day of a certain month, that is, a certain time range!
