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.
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/
There are many ways to add a date on your screen. This page shows how to put a date and day (for instance: wednesday, march 20th, 2002), using an array.