Simply create a date object for Jan 1 in the year you are testing. Then add to it the ordinal (minus 1 I think). This will give you a date object for the ordinal.
======================================================================= Raymond Camden, ColdFusion Jedi Master for Hire Email : [EMAIL PROTECTED] Yahoo IM : cfjedimaster "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Christian Abad [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 3:52 PM > To: CF-Talk > Subject: Reverse Engineer DayOfYear Function? > > > Folks: > > I am trying to obtain a date from the ordinal produced by the function > DayOfYear. In other words, does anyone know how to "reverse > engineer" the > ordinal into a usable date? I would assume I'd need to pass > the ordinal and > the year to some function to obtain a usable date. I can't > seem to find a > function that will accomplish this! Any ideas? > > Thanks, > Christian N. Abad > > -------------------------------------- > Sr. Analyst - Apps Programming > Bank of America > eCommerce Technology - Website Support > http://www.bankofamerica.com > > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

