---------- Original Message ----------------------------------
From: "charlie griefer" <[EMAIL PROTECTED]>
>no quotes around now()
><cfset timeLeft = dateDiff("'s'", now(), "deadline")> 

Not sure if this affects the error or not, but you also don't need the single quotes 
around "s", and if deadline is a datetime object, get rid of those quotes, as well:

<cfset timeLeft = dateDiff("s", now(), deadline)> 

Scott
--------------------------------
Scott Brady
http://www.scottbrady.net/
 
             
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to