I am successfully using following strtotime command with PHP 5.3

```
echo strtotime('last day of last month');

```

but unfortunately same command return empty value in PHP 5.1.6 I don't want to upgrade PHP as PHP 5.1.6 is default version in CentOs 5. I wonder if is there any altertive method to get same result in PHP 5.1.6