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
Given a local timezone, such as 'America/Denver', you can use DateTime class to convert UTC timestamp to the local date:
$timestamp = *********; $date = new DateTime("@" . $timestamp); $date->setTimezone(new DateTimeZone('America/Denver')); echo $date->format('Y-m-d H:i:s');