title: php way to get date 15 of every month
body: <p>I am trying to output the 15th day of next month, based on input provided by the user.</p>
  
  <p>For example:</p>
  
  <blockquote>
    <p>04/02/2016 - input by user<br>
    05/15/2016 - output after calculation </p>
  </blockquote>
  
  <p>This is my code, which I'm trying:</p>
  
  <pre><code>// this value is already coverted in strtotime.
  $today = $loan_data['loan_applied_date'];
  $numOfDays = date('t', $today);
  $base = strtotime('+'.$numOfDays.' days', strtotime(date('m/01/Y', $today)));
  $day15 = date('m/01/Y', $base);
  $time = strtotime($day15);
  </code></pre>
  
  <p>By running the above code I am getting the 1st day. How can I get the 15th?</p>
  
  <p>Example scenario:</p>
  
  <blockquote>
    <p>Suppose Subscription registered on 04/04/2016, so their next payment date will be 15th of next month or 05/15/2016.</p>
  </blockquote>