> All of the sudden we started getting these errors:
>
> "02-29-05" is an invalid date format. <br>The error occurred on
> line 142.
>
> There are only 28 day's in 05..
>
> Here is the code I am using :
> <CFIF #ValueToMod# mod 10 is Checksum AND
> #DateCompare('#form.Month#-#DaysInMonth('#form.month#-#form.year#')#-#fo
> rm.Year#', #now()#)# is TRUE>
>
> This has worked fine for years... Is this a CF bug?
DaysInMonth() takes a date as argument, not an ambiguous string. If
you insist on working with strings, make sure they are in yyyy-mm-dd
format.
Jochem
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

