I've seen previous problems about adding two months to an existing date, however the existing answers do not help me much as I am getting different results than what I want. I have set up a date as follows:

```
$date = "2014-12-31";
$date = date('Y-m-d', strtotime("$date +2 month"));

```

After I've added 2 months, I print it:

```
echo $date;

```

My result:

> 
> 2015-03-03
> 
> 
> 

but this is not right to me because this is a full month beyond what I actually want:

> 
> 2015-02-28
> 
> 
> 

How can I do this?