<?php $the_date = strtotime('31.10.2013'); echo date('r', strtotime('first day of last month', $the_date));
You have javascript disabled. You will not be able to edit any code.