I tried to do this:
$date_string = strtotime('6 Mar, 2011 23:59:59');
But I think PHP cannot interpret this for some reason, since it returned empty. I tried this:
$date_string = strtotime('6 Mar, 2011 midnight');
The above, but I need him to be second until midnight, that is, the last second of the day. How can I get strtotime to return this without changing part of March 6, 2011?
Abs
source share