<?php echo date("m/d/Y" strtotime('second Wednesday June-2016')) ?>
出力2016年6月15日の代わりに、2016年6月8日? https://secure.php.net/manual/en/datetime.formats.relative.php
それは彼らのすべての使用のようになります。相対的な日付形式のドキュメントで
<?php
months = array(1=>'Jan',2=>'Feb',3=>'Mar',4=>'Apr',5=>'May',6=>'Jun',7=>'Jul',8=>'Aug',9=>'Sep',10=>'Oct',11=>'Nov',12=>'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."<br>";
?>
'second 'の代わりに' 2'を試してみてください –