If your grabbing the date from a DB you can use

<cfscript>
        // Set Date to Whatever
        DateWanted = queryname.date;
        DateWanted = DateAdd("d", 5, DateWanted);
</cfscript>

Or you can use
<cfset datewanted = dateformat(now(), "mm/dd/yyyy")>
<cfset datewanted = DateAdd("d", 5, datewanted)>

Or however you want



-----Original Message-----
From: Willy Ray [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 11:34 AM
To: CF-Talk
Subject: Date Manipulation?



Ok, I have a date.  I need to add a day, or a number of days.  How the devil
does one do this?

----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar


------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to