Looping with dates.
Posted: Fri Nov 30, 2007 10:01 am
Hello everyone. I'm creating another aspect to my baseball league web page. This time I'm trying to add a database creation form. By this I mean; a page with a form to create a database with input to get a start date and a end date, the days of the week available and diamonds used on those days of the week. What I would like to do is loop in my code from the start date to the end date and populate a database table with all the possible dates (with associated diamonds). How does one go about looping between two dates and pick apart the date for a particular day of the week.
Thank-you...
Thank-you...