I\'m storing the UTC dates into the DB using:
$utc = gmdate(\"M d Y h:i:s A\");
and then I want to convert the saved UTC date to the client
I store date in the DB in UTC format but then I show them to the final user in their local timezone
// retrieve $d = (new \DateTime($val . ' UTC'))->format('U'); return date("Y-m-d H:i:s", $d);