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 Quote 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')) Quote 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!! Quote Link to comment https://forums.phpfreaks.com/topic/103152-solved-date-advance/#findComment-528385 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.