timmah1 Posted April 27, 2008 Share Posted April 27, 2008 How would I make this function add 28 days to it? echo "<td>" . date("D jS F Y", strtotime($row['date'])) . "</td>"; I've tried this: echo "<td>" . date("D jS F Y", strtotime($row['date']+28)) . "</td>"; But that didn't work. Thank you in advance Link to comment https://forums.phpfreaks.com/topic/103152-solved-date-advance/ Share on other sites More sharing options...
pocobueno1388 Posted April 27, 2008 Share Posted April 27, 2008 date("D jS F Y", strtotime($row['date'].' + 28 DAY')) Link to comment https://forums.phpfreaks.com/topic/103152-solved-date-advance/#findComment-528384 Share on other sites More sharing options...
timmah1 Posted April 27, 2008 Author Share Posted April 27, 2008 Thank you very much!! Link to comment https://forums.phpfreaks.com/topic/103152-solved-date-advance/#findComment-528385 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.