<?php $a_date = "2009-06-31"; echo date("Y-m-t", strtotime($a_date));
You have javascript disabled. You will not be able to edit any code.