how do i convert the date to IST using date and strtotime function in php
<p>i am using a timestamp to store the current date in the database. here is what i am using.</p>

<pre><code> $date = date("dFY");
 $timestamp = strtotime($date);
</code></pre>

<p>now the above code fetches the current date from the server which is hosted in U.S, whereas i would like it to store the date according to Indian time which is GMT : +05:30 , how do i make sure it insert the current date according to indian time (IST). </p>

<p>here is the link to the date() in PHP.</p>

<p><a href="http://in3.php.net/manual/en/function.date.php" rel="nofollow">http://in3.php.net/manual/en/function.date.php</a></p>

<p>although it says i have to use the parameter O with +0530, i am unsure on how do i use it. please help me out on this.</p>

<p>thank you</p>
