You're editing the correct file, right? Maybe try inserting a date instead of now() in quotes and see what happens.
> -----Original Message----- > From: Dave Lyons [mailto:[EMAIL PROTECTED]] > Sent: Friday, 14 February 2003 11:18 a.m. > To: CF-Talk > Subject: Re: OK, lets start over........Re: any ideas on this error? > > > :( > been trying them all and the same error > maybe i have a corrupt file > > any other suggestions on how to do it? > > im off to make an ass outta myself at my 1st cf meeting > > Dave > > ----- Original Message ----- > From: "Scott Brady" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, February 13, 2003 5:10 PM > Subject: Re: OK, lets start over........Re: any ideas on this error? > > > > ---------- 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

