<cfset startdate= "06/01/2004">
<cfset enddate = "08/06/2004">
<cfloop from="#startdate#" to="#enddate#" index="i">
<cfoutput>
#dateformat(i, "mm/dd/yyyy")#<br />
</cfoutput>
</cfloop>
On Thu, 19 Aug 2004 16:27:30 +0100, John Beynon <[EMAIL PROTECTED]> wrote:
> loop with dateadd() adding a day to each increment should sort you out,
>
> jb.
>
>
>
> On Thu, 19 Aug 2004 11:17:10 -0400, Jeff Waris <[EMAIL PROTECTED]> wrote:
> > About 2 weeks ago there was a thread on looping over monthly dates.... I
> > need to take it a step further,,,,
> >
> > I'd like to loop over a date range in DAYS.
> >
> > Say startdate=06/01/2004 endate=08/06/2004 and have it loop consecutively
> > through each day of the month until it gets to the end date.
> >
> > 06/01/2004
> > 06/02/2004
> > 06/03/2004
> > 06/04/2004
> > 06/05/2004
> > ....etc...
> > 08/05/2004
> > 08/06/2004
> >
> > and know June has 30 days, July has 31 etc.
> >
> > Thanks...
> > Jeff
> >
> >
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

