If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
depending on what front end you are using you may be able to do what you want more esaily.
But in MySQL there are several date functions that may help
dayofWeek() will return todays day Sunday=1, Saturday=7
weekday()
date_add()
date_sub()
-if you are using version 5 then your could write sproc to handle it otherwise you will have to write a fairly convluted SQL statement
HTH
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton