Learn how to calculate the difference between two dates in JavaScript, and in the process, derive some useful applications such as counting down to a particular event, counting up, displaying what's new on your page etc.
The document object has a last modified date property. This specifys the date the file was last modified on. This can be useful for showing when the page was last modified without having to modify any HTML when you make a change. This tutorial shows how to display the last modified date in several different formats using JavaScript.
Both the date and time is accessed from the Javascript Date() function. Learn the basics of this functions to add simple date and time information to your website.
This simple script shows time in the following format:
days-hours-minutes-second s-mseconds
mseconds are refreshing very fast and it looks rather impressive.
It is easy to change the timeZero, so you can use it at your pages.
http://blog.go-test.net/2 006/07/18/online-countdow n-timer/