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 On Thu, Apr 2, 2009 at 2:50 PM, Jason Fisher <[email protected]> wrote: > > Definitely not odd, when you think through all the possible use cases. If I > build an auto-incrementer that takes in any start date, then I may have a > July 28 start, which would indicate that 1 month out must be August 28 and > one month back must be June 28. Given that scenario, how would the > underlying code ever be expected to jump from that to assume that one month > forward from February 28 would need to be March 31? Yes, they're both the > end of month, but 3/31 is not really one month out from 2/28, while 6/28 is > always precisely one month back from 7/28. If what you always want is "give > me the end of the next month", then that needs to be a special case, as > indicated in several of the solutions presented on this thread to date. > > My 2c > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:321265 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

