|
I need a script that will generate a MySQL database file. It needs to make a new row for every week between Jan 1st 2004 and Dec 31st 2006 (it wont stop there, but i can modify it to work). I need ot also be able to timestamp the start date and end date. Each week starts on Friday and ends on Thursday. I could easily do this, but I don't know how to determain what day is waht of each month. Ex: June 5th 2004 is a saturday 2005 its a thursday. Got to make sure it generates these correctly.
If you could do this, it would be amazing! Thanks again!
|