Click to See Complete Forum and Search --> : birthday calculator stopped working


essahc
01-07-2003, 11:55 AM
I am using a birthday calculator that I found at:
http://javascript.internet.com/calculators/old_age-calculator.html

its nice and give lost of info including age down to the second.

My trouble is that since the first of the year the output stoped working correctly. all that is told is how many years old you are.

I wonder if anyone has any insite as to what has happened.

jalarie
01-17-2003, 09:16 AM
They have an error on the page:

 JavaScript Error: line 104:
 p is not defined.

I believe it has to do with their variable 'gmonth = days.getMonth();' which runs from 0 to 11 but they are checking 1 to 12.

mawood
01-17-2003, 09:32 AM
If a birthday clock stops ticking, doesn't that mean you're dead? Sorry - couldn't resist.