I'm trying to use getdate to extract the month from a date being passed to it. In my application, I first have to add 62 days to the current date, so I'm doing that using strtotime as shown below. Then I'm trying to use getdate to extract the month, but I keep getting back December. I've tried getting back the entire date and it comes back as December 31, 1969, which I'm sure is a significant date in UNIX or something. Anyway, I don't know why this isn't working, although I expect that it's something simple. Any thoughts?
$date2 = date("F j, Y", strtotime(" + 62 day"));
$newdate = getdate($date2);
echo $newdate['month'];