Abhishek
Joined: 13/03/2008 17:06:55
Messages: 5
Offline
|
Dear All,
Please help DateCompare is not working in smith giving exception
Statement 1:
<CFIF #DateCompare("03/11/2008","03/11/2008")# IS 0>
<CFOUTPUT>"Hi i am here..."</CFOUTPUT>
</CFIF>
Exception = Error message: java.lang.ClassCastException
Error type: any
Statement 2
<CFSET EndTime = #APPLICATION.USERSLOGGEDIN[COUNTER].TIMECREATED# + #APPTIMESPAN#>
<CFIF #DateCompare("#Now()#", "#EndTime#")# IS 1>
<CFSET TEMP = StructDelete(application.UsersLoggedin, #COUNTER#, true)>
</CFIF>
Exception = Error message: java.lang.Double cannot be converted to DateTime!
Error type: expression
Thanks in advance...
Warm Regards,
Abhishek
|