Isaac thanks just what I needed...
Kola -----Original Message----- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 04 July 2002 15:57 To: CF-Talk Subject: Re: Week ending UDF anyone? > Before I re-invent the wheel does anyone have a UDF which > calculates the weekending date. (i.e. the Saturday). Try this: functioin weekending(date) { return dateadd("d",7-dayofweek(date),date); } Isaac www.turnkey.to 954-776-0046 ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists