<?php $date = '2014-01-01'; var_dump(date_create_from_format('Y-m-d', $date));
You have javascript disabled. You will not be able to edit any code.