oh lol
thanks


----- Original Message -----
From: "Ryan Kime" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, February 17, 2003 10:09 AM
Subject: RE: i shall ask 1 more time (works for me)


> Just to add in something to cfdev's email, make sure you use the proper
form
> of "TO". Especially if it is for a client.
>
>  <strong>To Late</strong>
>
> Should be:
>
>  <strong>Too Late</strong>
>
>
> -----Original Message-----
> From: CFDEV [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 17, 2003 8:51 AM
> To: CF-Talk
> Subject: RE: i shall ask 1 more time (works for me)
>
>
> This is what I used and it works for me.
> Once it is 0 time remaining, it shows, too late:
>
>
> <cfset deadline = "02/17/2003 9:50 AM">
> <CFSCRIPT>
> timeleft = DateDiff("s", Now(), deadline);
> daystogo = Int(timeleft /86400);
> leftover1 = timeleft - (daystogo * 86400);
> hourstogo = Int(leftover1/3600);
> leftover2 = leftover1 - (hourstogo * 3600);
> minutestogo= Int(leftover2/60);
> leftover3 = leftover2 - (minutestogo * 60);
> secondstogo = leftover3;
> </CFSCRIPT>
>
>
>
> <cfif daystogo LT 1 AND hourstogo IS 00 AND minutestogo IS 00 AND
> secondstogo IS 00>
> <strong>To Late</strong>
> <cfelse>
>     <cfoutput>
> #NumberFormat(daystogo,'00')# Days<br>
> #NumberFormat(hourstogo,'00')# Hours<br>
> #NumberFormat(minutestogo,'00')# Minutes<br>
> #NumberFormat(secondstogo,'00')# seconds
> </cfoutput>
> </cfif>
>
>
>
>
>
> -----Original Message-----
> From: Dave Lyons [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 16, 2003 8:50 PM
> To: CF-Talk
> Subject: Re: i shall ask 1 more time
>
>
> for some reason that throws an error about daystogo being undefined Dave
>
> ----- Original Message -----
> From: "Matthew Walker" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Sunday, February 16, 2003 8:42 PM
> Subject: RE: i shall ask 1 more time
>
>
> > Hard to tell without knowing more about your code, but how about:
> > <cfif daystogo LT 1 AND hourstogo lte 0 AND minutestogo lte 0 AND
> > secondstogo lte 0>
> >
> > > -----Original Message-----
> > > From: Dave Lyons [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, 17 February 2003 2:07 p.m.
> > > To: CF-Talk
> > > Subject: i shall ask 1 more time
> > >
> > >
> > > I still got this code that is bugging the crap outta me!
> > >
> > > here's the code
> > >
> > > <cfif daystogo LT 1 AND hourstogo IS 00 AND minutestogo IS 00 AND
> > > secondstogo IS 00>
> > >     <strong><img src="images/ALERT.gif" width="18" height="13"> To
> > > Late</strong>
> > >     <cfelse>
> > >     <cfoutput>#NumberFormat(secondstogo,'00')# seconds</cfoutput></td>
> > >     </cfif>
> > >
> > >
> > > the problem is that this is a count down to a set month, day, hour,
> > > minute and second.
> > >
> > > for example when the timer gets to be less that a day it dispalys a
> > > message and only the hours, minutes & seconds continue to count
> > > down. And as each is passed it displays a hurry up message. It all
> > > works great until the seconds run out at which point I would like it
> > > to just show the messages but instead it starts to count down the
> > > hours, minutes and seconds again.
> > > how can I make the count down stop after the seconds get to 00?
> > >
> > > thanks
> > >
> > > dave
> > > <!--- doesn't know jack about cfm --->
> > >
> > >
> > >
> > >
> >
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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

Reply via email to