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/
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.
You could use your status bar to display the time and date. You might also use it to display mouse-over text or a welcome message. View the source of the demo page for the source code.
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.