> I have a CF app that needs to display the time -- the
> server time, not the
> browser's time -- on the screen, in motion.  Does anybody
> know of some plug-
> in to CF -- either javascript or java or whatever -- that
> could provide this
> feature?  I hope this isn't off topic.

dunno about a plug in ... but there are ways to accomplish it...

<script language="javascript"><cfoutput>
        window._serverDate = new Date("#dateformat(now(),'mmm dd, yyyy')#
#timeformat(now(),'HH:mm:ss')#");
</cfoutput></script>

That gets your server date into javascript as window._serverDate ... from
there you can add seconds to the date and redisplay each second or each
minute using the rest of any javascript clock script you can find bandied
about the net.

Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to