<?php $firstOfMonth = "2011-01-01"; echo "firstOfMonth: " . $firstOfMonth . "\n"; $firstOfMonthDate = \DateTime::createFromFormat('Y-m-d|', $firstOfMonth); var_dump($firstOfMonthDate);
You have javascript disabled. You will not be able to edit any code.