I need to add X days to current time
echo date("d.m.Y H:i",time());
echo "<br>";
echo date("d.m.Y H:i",time()+5*24*60*60);
return correct results
18.10.2013 14:22
23.10.2013 14:22
but if i change 5 to 10 then
18.10.2013 14:22
28.10.2013 13:22
13:22 instead of 14:22 in result. 1 hour is missed.
What can be with it?
$date = strtotime(date("Y-m-d", strtotime($date)) . " +1 day");