dateAdd('m', i, date1)
returns same DATE i months away. NOT same weekday, or same 3rd Thursday, or 
even end of month date - just same DATE i months away.

> so, with that, id say a new incrementer of precise calendar month would be 
> best.

why, when you can easily get the desired result using other already available 
date functions?

<cfset date1 = '11/30/2008' />
<cfoutput>
 <cfloop from=1 to=6 index=i>
  <cfset newdate = dateAdd('m', i, date1) />
  #dateFormat(createdate(year(newdate), month(newdate), 
daysinmonth(newdate)),'mm/dd/yyyy')#<br />
  </cfloop>
 </cfoutput>


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Ras Tafari wrote:
> but the end of months is a KNOWN thing, calculated out forever, look
> at rainmain.
> with that known constant of dates, it would be easy to code it such
> that anything
> end of month that asks for a incrementer of "m" would be easy to assume that.
>
> so, with that, id say a new incrementer of precise calendar month would be 
> best.
>
> tw
>
>
>   

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321273
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to