Set time to midnight as described in #4115

Set time to midnight on date types. 
Prevents behaviour described in http://php.net/manual/en/datetime.createfromformat.php#110385