I am trying to find out what month is 5 months from now. This function has working with all other calculations. For example when I substitute 5 for a 4 it shows January. The output from the below equations shows 03 and should be 02.
Please help. Below is the code.
$sixthmonth = date("m", mktime(0, 0, 0, date("n")+5, date("d"), date("Y")));