MySQL/PHP date functions

From: Date: Wed, 20 Feb 2002 11:03:18 +0000
Subject: MySQL/PHP date functions
Groups: php.db 
Request: Send a blank email to php-db+get-17081@lists.php.net to get a copy of this message
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 loop through all dates possible just to find if they are on that particular week.. (my explanation might be a bit confusing, I'm dead tired :) Cheers, markus -- Markus Lervik Linux-administrator with a kungfoo grip Vaasa City Library - Regional Library markus.lervik@vaasa.fi +358-6-325 3589 / +358-40-832 6709

« previous php.db (#17081) next »