I love threads like this, always interesting to see what people come up with.

Just wanted to correct this one (and at least one other person that did 
something similar).

><cfset current = #month(now())#>
><cfset next = #current# + 1>
><cfset thedate = #createdate(#year(now())#, #next#, 01)#>
><cfoutput>#createodbcdate(thedate)#</cfoutput>

You can't just add 1 to the current month...what happens when it is 
December? You do indeed need to use the DateAdd function to do something 
like this.


  -------------------------------------------------
| Mary Jo Sminkey         [EMAIL PROTECTED]     |
| Lovettsville, VA USA     http://www.dogpatch.org |
|                                                 |
| Tosh, UD, AD, VAD, PT       (Old, Retired Dog)  |
| Taz, ADCH, UD, MX, AXJ, EAC, EJC, EGC, FM       |
  ------------------------------------------------- 

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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