Languages Java Clocks  

Server time ticking clock

download download  
important code information
author:
Tomleung
minimum requirements:
Server time ticking clock description

This script allows you not only to display a ticking clock in a web page, you can also set the initial time by perl script, php etc, so that server time can be shown to client. Furthermore, if the server time is synchronized with NTP servers, the time shown in the web page will be absolutely precise. Bugs fixed: 1. Replaced setTimeout with setInterval. The setTimeout loop in v1.0 had in place will cause recursion to eat memory. 2. I optimized the second++ logic that ripples through the minutes and hours. 3. I combined the logic on seconds, minutes, hours for making 2 digits into a function call. 4. i made the seconds,minutes,hours vars global so they can easily work with the setInterval 5. Greatly reduced the delay between client time and server time due to the complex loop in v1.0


File List:
clock_2_0.htm3Kb
des_2_0.txt1Kb

Similar code
JavaScript Digital Clock (Popularity: ) : JavaScript Digital Clock is a simple image based web clock. It reads the client's system time and then displays the time with fancy images. A graphical, JavaScript supported modern web browser is required to display this script. JavaScript Digital Clock ...
Analog Clock (Popularity: ) : An Excellent Clock Just looks so real! It displays the time and date. It's size can also be adjustable.
Led Digital Clock (Popularity: ) : This program is Led Digital Clock that shows hours,minutes and seconds simultaneously.
LCD Clock (Popularity: ) : Beautiful Lcd Clock applet that accepts 3 parameters: background color,format and blinking enable.
MyClock.java (Popularity: ) : A simple clock that will display current time. Demonstrating the use of Thread in Java
JTimeZones (Popularity: ) : World TimeZones Applet with analog and digital Clocks of the Major Citys. You can easy add Citys in the SourceCode (Timezones.java) Example: ("Berlin","GMT+2:00"). All Clocks in own Threads
Bar Clock (Popularity: ) : It's a stylish and modern clock that use text-based progress bars to show the time, also includes the normal digital clock to show the time with AM/PM format. Check it! Its very cool! Please leave your comments.
ProClock (Popularity: ) : Yes another clock, but this ones different. This Javascript clock displays the date and time from a specified start date and time. Could be used for people wanting to display the time of their computer or web server within their ...
JClock (Popularity: ) : It is a Component Clock that originate from the Component of JTextField. It displays Current Setting on your Computer Time.
J2ME - News Slider (Popularity: ) : J2ME News Slider Flash for PDA's & Mobile phones.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 295
version 2.0
size in Kb 2
popularity   2662/7913374
user rating 2/10
ad


New Code
Popular Code