php unixtime + 2 days
Posted on 2011-02-27
I have variable $date which equals unix time format (for exaple 1298835792). What is the easyest way to add + 2 days to my unix date and then return new date in format: date ("Y-m-d")?
Another key point is to display $date2 in correct time format for example if in this month only 28 days, + 2days shoud be != 30