On Wed, 2002-02-20 at 13:16, Sven Jacobs wrote:
> You can do it like this 
> calculate the current day and extract 7 days of it 

ehm? extract 7 days of it? from what?-) I'm not quite following...

> then with an array the current day until the calculated day :-) 

ehm, call me stupid, but I didn't get it. ;) You wouldn't mind posting
a snippet? might be easier for poor retarded me to understand. :)

> May not 100 % what you are looking for but it works 

What I just came up with, teasing my (few) little gray ones, is
calculate backwards until date("W") gives 8, add one, and we have 
monday the whateverth, right?-) 


Markus Lervik
Linux-administrator with a kungfoo grip
Vaasa City Library - Regional Library
+358-6-325 3589 / +358-40-832 6709

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to