<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Please provide solution for DateCompare..( not working in smith)"]]></title>
		<link>http://www.smithproject.org/forum/posts/list/5.page</link>
		<description><![CDATA[Latest messages posted in the topic "Please provide solution for DateCompare..( not working in smith)"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Please provide solution for DateCompare..( not working in smith)</title>
				<description><![CDATA[ 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
 :oops:  :cry: ]]></description>
				<guid isPermaLink="true">http://www.smithproject.org/forum/posts/list/187.page#678</guid>
				<link>http://www.smithproject.org/forum/posts/list/187.page#678</link>
				<pubDate><![CDATA[Thu, 27 Mar 2008 12:49:05]]> GMT</pubDate>
				<author><![CDATA[ Abhishek]]></author>
			</item>
			<item>
				<title>Re:Please provide solution for DateCompare..( not working in smith)</title>
				<description><![CDATA[ Hi Abhishek,

thanks for the post! all date/time functions are reimplemented and will be available starting from 1.3b7
]]></description>
				<guid isPermaLink="true">http://www.smithproject.org/forum/posts/list/187.page#679</guid>
				<link>http://www.smithproject.org/forum/posts/list/187.page#679</link>
				<pubDate><![CDATA[Thu, 27 Mar 2008 13:00:18]]> GMT</pubDate>
				<author><![CDATA[ orcus]]></author>
			</item>
	</channel>
</rss>