Back to JS main page

BY:Ben Harold
DATE:1996-10-03


The JavaScript Planet has been
COMMENTS:

This JavaScript counts the number of years, months, and days there have been since a certain date. I do not know of any bugs in this script, but there is one limitation. The script will start displaying negative values after December 31, 1999. To fix this, you can change the year to count from to a negative number. I could fix this, but I am really sick of working on this script. I may fix it later. If you find any bugs, please write down a description of the problem, and the date you encountered it on and e-mail me.

Setup
It is rather easy to set this script up.
1. Copy everything between <script language="JavaScript"> and </script>
2. Paste the contents into your page right at the place where you want the output text to appear
3. Go through and read the comments (they begin with "//" or "/*")


If you want this script just choose "Save Frame As..." (in Netscape) when you have the focus on the frame.

URL: http://www.oocities.org/SiliconValley/7116/jv_cntup.html


This page hosted by Get your own Free Home Page