RE: [PHP-DB] MySQL/PHP date functions

2002-02-20 Thread Markus Lervik
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'

[PHP-DB] MySQL/PHP date functions

2002-02-20 Thread Markus Lervik
Hello, all! Can anyone tell me how to easily calculate which days are on which week? ie, week 8 : 18. Feb -> 24. Feb? I retrieve information from a database on a weekly basis, and I'd like print out what range of dates are on a specific week. I know about date("W"...), but I really don't want to