A quick idea that can probably be perfected:
2050 )
{
return false;
}
$ini_date = mktime(0, 0, 0, 1, 1, $year); // Jan. 1
$end_date = mktime(0, 0, 0, 12, 31, $year); // Dec. 31
// The array to be returned.
On Tuesday 13 January 2004 21:29, nabil wrote:
> sorry but what do u think about this ?
>
> for ($j=1;$j<13;$j++) {
>for ($i=1;$i<32;$i++) {
>$mk = mktime(0, 0, 0, $j, $i, 2004);
>$datex = date ("l", $mk);
>$daterest = date ("j/n/Y", $mk);
>if ($datex == "Tuesda
sorry but what do u think about this ?
".$daterest."";
}
}
}
?>
the problem that it outputs 6 weeks in March ... why ?
"Nabil" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Greetings;
>
> I need a help here ... I want to make function that return the dates of
> Tu
3 matches
Mail list logo