I\'m grabbing some information from a database and the record is in an MSSQL DateTime format, when I return it, it shows in my array as follows:
[arrayItem] =>
Another solution is to loop.
$_date = \DateTime::createFromFormat('D M d Y H:i:s e+', $the_date); foreach($_dateStart as $row){ echo $row; // returns 2014-06-04 15:00 break; // stops at the first position }