title: Default time zone in php
body: <p>I am trying to save the current date and time and i have used the following code</p>
  
  <p><strong>Current PHP version: 5.4.16</strong> </p>
  
  <pre><code> date_default_timezone_set('Asia/Kolkata'); 
   $datet = date("Y-m-d H:i:s ");
  </code></pre>
  
  <p>When i echo it the output will be </p>
  
  <pre><code>2017-04-25 05:07:17
  </code></pre>
  
  <p>But actual time what i need is </p>
  
  <pre><code>2017-04-25 10:45:17
  </code></pre>
  
  <p>I have tried using <code>now()</code> but its also showing the same date rather than the current time, In what ways i can get the Current date and time. Any help appreciated.</p>