wow. mine was total overkill.

I figured there was an easier way....

brainfart

+-----------------------------------------------+
Bryan Love
  Macromedia Certified Professional
  Internet Application Developer
  Database Analyst
TeleCommunication Systems
[EMAIL PROTECTED]
+-----------------------------------------------+

"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
        - Thomas Paine, The American Crisis



-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 1:37 PM
To: CF-Talk
Subject: RE: Reverse Engineer DayOfYear Function?


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
> 
> 
> 

______________________________________________________________________
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

Reply via email to