xxxxxxxxxx
$date = new \DateTime($his['DATE_TIME']);
$date->setTimezone(new \DateTimeZone('Asia/Karachi'));
echo $date->format('F j, Y, g:i a');
xxxxxxxxxx
// Set the desired time zone
$timeZone = new DateTimeZone('America/New_York');
// Create a DateTime object with the specified time zone
$dateTime = new DateTime('now', $timeZone);
// Get the current date and time in the desired time zone
$currentTime = $dateTime->format('Y-m-d H:i:s');
// Prints the current date and time in the specified time zone
echo $currentTime;