You are absolutely right Qing - a little sloppy of me in the coding. Fixed now. Thanks!
As for the UDF - I am not sure that works - as I need Saturday as an option... Are there any thoughts on the cfifs and loops? Is that the "best" way to handle this? I may have to run this as a UDF several times on a page - and I Was just wondering about performance. I am trying to learn how to make things go "faster" - or more streamlined... And this seems like the perfect case - but I don't know what else to do... - Nick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329723 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

