Please show me how Kodjo Ackah Principal Consultant
-----Original Message----- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: 04 July 2002 16:18 To: CF-Talk Subject: RE: Week ending UDF anyone? 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 ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. 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