Week calculating
| From: | nabil | Date: | Tue, 13 Jan 2004 13:07:05 +0000 |
| Subject: | Week calculating | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-174433@lists.php.net to get a copy of this message | ||
Greetings;
I need a help here ... I want to make function that return the dates of
Tuesdays in a given year
Example::
Calc_Tuesdays (2004);
//and it should return or echo
2004-01-06
2004-01-13
2004-01-20
2004-01-27
2004-02-03
.
.
etc .... ofcourse it should echo 5 Tuesdays in March by example
so it should depends on the year not only current day+7
any help please !!
Nabil