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? Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.