Sorry, I didn't see that you were adding '1' inside the loop instead of the
index value 'ii'. Use this:
<cfset startweek_dt = Now()>
<cfloop index="ii" from="0" to="6">
<cfset startweek_dt = DateAdd('d', ii, startweek_dt)>
<cfoutput>#startweek_dt#</cfoutput><br>
</cfloop>
Jim
----- Original Message -----
From: "Yvette Ingram" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, March 18, 2001 3:15 PM
Subject: Re: Date/Time Nightmare
> Jim:
>
> Thanks. That adds 3/25/01 to the list. I just want the current week from
> 3/18/01 to 3/24/01. I know it's probably simple to get this, but at the
> moment I'm not seeing it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists