try this

<!--- note: use of Eurodates as I am in Australia ;) --->

<cfset start = "1/1/2002" >
<cfset end = "18/1/2002" >
<cfset n = datediff("d", start, end) >

<cfloop from="1" to="#n#" step="1" index="i">
        <cfoutput>#dateadd("d",i,start)#</cfoutput>
</cfloop>


or something along those lines anyway...
HTH
andy

> I have two dates: 
> Startdate: 1/12/02 
> Enddate: 1/15/02
> 
> How do I use cf to build a list of dates from the startdate to the
> endate like i.e. (1/12/02,1/13/02,1/14/02,1/15/02).
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to