<?php $start= "2013-01-31"; $current = date("Y-m-d", strtotime("1st", strtotime($start))); var_dump($current); ?>
You have javascript disabled. You will not be able to edit any code.