PHP DATE time add a year
Posted on 2015-02-21
I have a query that returns an entry date that is in UNIX time I want to convert the time to human time and the following works:
$start_date = $row['entry_date'];
$sd = gmdate(' l F d Y', $start_date);
I want to create a new variable that adds one year to the returned date.