I can't see anything in CF that lets you do this straight off so working
backwards:
<cfset testDate = createDate(2004,1,1)>
<cfset targetDay = 235>
<cfloop condition="dayOfYear(testDate) LT 365">
<cfif dayOfYear(testDate) EQ targetDay>
<cfbreak>
</cfif>
<cfset testDate = dateAdd('d',1,testDate)>
</cfloop>
<cfoutput><strong>#dateformat(testDate)#<strong></cfoutput>
Cheers
Mark
______________
Mark Stanton
Web Production
Gruden Pty Ltd
Tel: 9956 6388
Mob: 0410 458 201
Fax: 9956 8433
www.gruden.com
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/