![]() |
|
|
+ Search |
![]()
|
Jul 31st, 2006 00:55
Herman Cheah, Chris Meyer, http://www.go-2.net
//$intDayofYear = Integer value of how many days of the year
$intDayOfYear = 365;
$intYearEnd = 2008;
$now = time();
for($count=0;($count<=$intDayOfYear);$count++)
{
// Plus 1 day to the current day
$now += 60*60*(24);
if((date('D', $now) == 'Tue')&&(date('Y',$now)!=$intYearEnd))
{
echo date("D m/d/Y", $now)."<BR>";
}
}