title: How to add days in current days dynamically in php
body: <p>Currently i am working on creating ecommerce website in that on order return section user can only return goods for particular time from the time product was delivered.(Ex. if product is deliver on <code>10-7-2018</code> and return day vale in database is <code>10</code> than after <code>20-7-2018</code> the button of return should hide automatically.</p>
  
  <pre><code>$date1 = date("Y-m-d"); //Current Date
  $date3 = $return_days['value']; //Day count value
  //echo $date3.'&lt;br&gt;'; //it will print day count value                                           
  $date2 = date("Y-m-d", strtotime($num['updated_date'] .'+'.$date3)); // i am adding $date3 and $num['updated_date'] value 
  </code></pre>
  
  <p>if <code>$num['updated_date']</code> value is <code>10-7-2018</code> and <code>$date3</code> value is <code>10</code> than output of <code>$date2</code> should <code>20-7-2018</code> but my code is not giving desired output.</p>
  
  <p>If any body know solution than please help.</p>