How to convert UTC dates to local time in PHP

Warning message

JQuery Cycle must be installed in order to run the slideshow. Please go to Status Report for instructions.

Get the value of UTC time and convert it into unix timestamp and then convert that timestamp to date will give you exact local date and time.

$time = strtotime($dateInUTC.' UTC');
$LocalDate = date("Y-m-d H:i:s", $time);