Brook,

<cfset then = DateAdd("d", -7, now)>

HTH,
Seva Petrov

> -----Original Message-----
> From: Peter Benoit [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 19, 2001 2:19 PM
> To: CF-Talk
> Subject: a week before...
> 
> 
> Hi,
> 
> I make a date using: <cfset now = #CreateDate(url.year, url.month,
> url.day)#>
> 
> How can I find out what the day is 7 days prior?
> 
> TIA,
> Pete
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to