Calculating future date using php strtotime() not give right answer
<p>I want to get future date after specific date 
for this i use <code>strtotime()</code> function but it not work for me</p>

<p>then I use following code</p>

<pre><code>$d1='2012-11-08';
$d2=date($d1, strtotime('+3 days'));    
echo $d2;   
</code></pre>

<p>output is
     2012-11-08
     2012-11-08</p>

<p>not 
    2012-11-11</p>

<p>but output is not 2012-11-11
output is  2012-11-08
i can't solve this what is error i do and  how i solve this?    </p>
