|
|
** Another pointless web page from the folks at Fishenet **
| [Math nuts: the only thing about this that makes it year-sensitive is the number assigned to the "have you had your birthday yet" line and your year of birth, so the "what is your age" result is really esoteric and is NOT based on the current date resident on your computer. The stuff about multiplying by 2 and adding 5, etc. is all flimflam, not that we understand how it works. This was programmed from written instructions about what to add, multiply, or whatever: (1) first of all pick the number of days in the week you would like to do xxx, (2) multiply this number by 2, (3) add 5, (4) multiply result by 50, (5) do a birthday adjustment by adding one of two secret numbers (which make this thing work), and (6) subtract your year of birth from the result. Given those instructions, you could do it all by hand, and in fact it is actually quicker than translating these instructions into bugless JavaScript. The JavaScript does the math, but why the math works is beyond me. But by the miracle of a JavaScript program that finally worked after hours of testing and changing, you don't need to know or bother! (Although I can think of many simpler ways for people to determine how old they are in 1998 -- for example, memory.) |