while($chat = $result->fetch_object()){
// Returning the GMT (UTC) time of the chat creation:
$chat->time = array(
'hours' => date('H',strtotime($chat->ts)),
'minutes' => date('i',strtotime($chat->ts))
);
I'm using this code to display time alongside chat message. How can I change this code to display output time in IST timezone? Thank you