> <cfset date1 = createdate(2000,5,16)>
> <cfset date2 = dateadd("d",180,date1)>
> <cfoutput>
> #dateformat(date1)#<br>
> #dateformat(date2)#
> </cfoutput>

Or, if you're a moron...

<cfset date1 = createdate(2000,5,16)>
<cfset date2=date1>
<cfloop index="i" from=1 to=180>
        <cfset date2=dateAdd("d",1,date1)>
</cfloop>
<cfoutput>
#dateformat(date1)#<br>
#dateformat(date2)#
</cfoutput>

I've actually seen code like this from someone we got to do a tiny bit of
work for us... surprisingly, he wasn't with us for long...

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


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

Reply via email to