phpretard Posted June 17, 2008 Share Posted June 17, 2008 $start=date('m-15-Y'); outputs 06-15-2008 I need to output 07-15-2008. I have read the manuals and can't find the answers. Any help here? Link to comment https://forums.phpfreaks.com/topic/110577-solved-date-help-for-next-month/ Share on other sites More sharing options...
thebadbad Posted June 17, 2008 Share Posted June 17, 2008 <?php echo date('m-15-Y', strtotime('+ 2 months')); ?> Oops, dunno why I put 2 months there. But you get the idea Link to comment https://forums.phpfreaks.com/topic/110577-solved-date-help-for-next-month/#findComment-567290 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.