This is a rather old thread but i'm have the same requirement as the original poster and was hoping maybe someone could shed some light on this.
When I excute this code the date is comes as Nov, 6 when it should really be Oct, 30.
function MkTime($yr, $mth, $day) {
$Wk = date("w", mktime(1, 1, 1, $mth, 1, $yr));
/* week equals 44 */
$MyDay = date("M, j", strtotime("01 January $yr +$Wk weeks $day"));
return $MyDay;
}
echo MkTime(2006, 11, "Monday");
Any help in figuring this out would be great.