title: why does <?php echo date("m/d/Y" strtotime('second wednesday June 2016')) ?> output 6/15/2016 instead of 6/8/2016?
body: <p>why does </p>
  
  <pre><code>&lt;?php echo date("m/d/Y" strtotime('second Wednesday June-2016')) ?&gt;  
  </code></pre>
  
  <p>output 6/15/2016 instead of 6/8/2016?</p>
  
  <p>This is the work around I've come up with --- not very eloquent:</p>
  
  <pre><code>    &lt;?php
      months = array( 1=&gt;'Jan',2=&gt;'Feb',3=&gt;'Mar',4=&gt;'Apr',5=&gt;'May',6=&gt;'Jun',7=&gt;'Jul',8=&gt;'Aug',9=&gt;'Sep',10=&gt;'Oct',11=&gt;'Nov',12=&gt;'Dec');
     $year = "2016";
      $month = "06";
      $smonth=$months[(int)$month];
      $tstr=$month."/01/".$year;
      $dow=date("D",strtotime($tstr));
      if ( $dow == "Wed" ) {
          $nstr="first";
      } else {
          $nstr="Second";
      }
      $edate= date("m/d/Y", strtotime($nstr.' Wednesday '.$smonth.'-'.$year));
      echo $edate."&lt;br&gt;";
      ?&gt;
  </code></pre>