replacing
put 60 * 60 * 24 * 365 into secsPerYear

with
 put (60 * 60 * 24 * 365) + (60 * 60 * 6)  into secsPerYear

ie. adding a quarter of a days seconds to sescPerYear


seems to fix it, at least for age < 30ish.

Best,

Mark

On 8 Sep 2006, at 14:36, Mark Smith wrote:

Actually, the other way it is likely to be wrong is when today's date is very close to the persons birthday - eg if a persons age is really 16 yrs 11 months, and their birthday is a couple of days from now, it may give 17 yrs 0 months.

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to