Owens, Howard wrote: >Oops, found a problem with this UDF ... > >It give you the option of feeding in a 5 for the Nth recurrence, which 5, as >I take it, should equal 'last' ... meaning, say, the Last Friday of the >month. Some months that will be the 5th Friday, some months the 4th. > >So for November, for example, the UDF returns -1 instead of the 28th. > > For that you should reverse the UDF, so that it returns the nth day from the end of the month instead of the beginning.
Just a thought. Jesse ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

