I'm trying to get the next month using PHP mktime() function.
I am looking to get a result like 07/2015 but instead it is giving me 01/2015.
Here is the code I am using:
$next_month = strftime('%d/%Y', strtotime('+1 month', mktime(0,0,0,$month,1,$year)));
The value of $month is 06.
The value of $year is 2015.
If you insist on using your version, then it should be
%minstead of%d, i.e.: