Looping with dates.
Moderator: General Moderators
-
Todlerone
- Forum Commoner
- Posts: 96
- Joined: Sun Oct 28, 2007 10:20 pm
- Location: Hamilton, Ontario, Canada
Looping with dates.
Hello everyone and thank-you in advance. Can anyone please give me some suggestions on looping between two dates. By this I mean, I will have a start day and an end day approximately five months later. On each pass through the loop I will determine the day of the week which in return will populate my MYSQL database with appropriate data (this I "should" be ok with). I just need some direction in increasing the end of loop "day" by one. There seems to be many date type functions, I'm just curious as to which is best. Thank-you in advance. 
Re: Looping with dates.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.