--------
<CFLOOP CONDITION="DATECOMPARE (#CurrentDate#,#EndDate#) neq 1">
<CFOUTPUT><td><input type="text"
name="#Attributes.VacType#_#DateFormat(CurrentDate,'mmddyyyy')#" size =
"1"></td></CFOUTPUT>
<CFSET CurrentDate = DateAdd("d",CurrentDate,1)> <!--- Advance
current Date one day --->
</CFLOOP>
----------
The code above just doesn't work.
If I pass an ODBC formatted date to the Date Compare, it never shows
that the dates advance or that they are equal or not.
It is bloody frustrating.
If I pass say 10/01/2001 and 10/15/2001 as strings then it works just
fine.
If I use DateFormat(#currentdate#,'mmddyyyy') It doesn't work either.
What the hell am I doing wrong?
-Gel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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