Joshua-
This sort of stuff gets answered quickly on cf-talk, but:
<cfloop from="0" to="6" index="i">
<cfoutput>#dateFormat(dateAdd("d",evaluate("-#i#"),now()),"yyyymmdd")#</cfou
tput>
</cfloop>
----- Original Message -----
From: "Joshua Tipton" <[EMAIL PROTECTED]>
To: "CF-Server" <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 4:46 PM
Subject: cfloop
> I am wanting a cfloop that will create a list of dates starting with the
> current date and go seven days back. I want the date format to be
yyyymmdd.
> Any help? It will pass the date selected to a form. I have worked on
this
> for about an hour and need some help.
>
> Joshua Tipton
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com