this is what I wanted to do, Thanks I figured it out

<cfoutput>
<cfset ThisDate = now()>
<cfset WorkingDays = 0>
<cfloop from="1" to="5" index="i">
<cfset ThisDate = DateAdd('d', 1, ThisDate)>
<cfif DayOfWeek(ThisDate) GT 1 AND DayOfWeek(ThisDate) LT 7>
<cfset WorkingDays = WorkingDays + 1>
<cfif WorkingDays EQ 3>
<cfbreak>
</cfif>
</cfif>
</cfloop>
ThisDate: #DateFormat(ThisDate, 'd-mmm-yy')#<br>
</cfoutput>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330443
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to