title: Set TimeZone for MySQLi insert Query
body: <p>I want set my custom timezone for insert record. I have tried set timezone like below but its not setting my custom timezone instead its setting server timezone for NOW(). I do not understood why its happening. Let me know if someone can help me for it.</p>
  
  <pre><code>&lt;?php
  function storeMessage($contact, $message, $reply) {
  require("includes/conf.php");
  date_default_timezone_set("Asia/Kolkata");
  $contact = '+'. $contact;
  $stmt = $conn-&gt;prepare("INSERT INTO messages (number, message, reply, time) VALUES(?, ?, ?, NOW())");
  $stmt-&gt;bind_param("sss", $contact, $message, $reply);
  $stmt-&gt;execute();
  $stmt-&gt;close();
   }
  ?&gt;
  </code></pre>
  
  <p>Thanks</p>