PHP: Convert SQL Date Format to PHP Readable
<?php $timestamp = strtotime($result->datetime); echo date("Y-m-d H:i:s", $timestamp);