<?php $t = new DateTime('31.12.2014'); var_dump(new Date('d-m-Y', strtotime('31.12.2014')));
You have javascript disabled. You will not be able to edit any code.