SpecialFX;10756685 wrote:Can you change from unixtime to a str?
assumed you have this problem: displays date over five days starting today.
$today=date("Y-m-d");
$today_time = new DateTime($today);
$five_days_after=$today_time->modify('+5 day');
print $five_days_after->format('Y-m-d');
Ta Daa!