Looking at Eric's code (which of course is really good), the numbers
used are only good to about 3 significant figures. Which means over a
50 year period, there's about a two week drift. Changing the line with
the numbers in it to this:

var hs=3600000; var ds=24*hs; var ms=30.4167*ds; var ys=365.2425*ds;

Should get you closer to what you want. Today on the 9th your example
says 52 years, 11 months, 21 days. I suppose a really thorough code
would need to count the years one by one, adding in days at the start
and end.

Happy Birthday!
Mark

On Jan 8, 3:30 am, Tobbe <[email protected]> wrote:
> Hi Eric,
>
> The script/plugin ShowAge that you made couple of month ago doesn't
> quiet show the right year, month and day. If I put in this in a
> tiddler: <<tiddler ShowAge with: 1957/01/20>> I get that I already is
> 53 year and 2 days old, which I'm not...yet. Do you have the time to
> look into it?
>
> Thanks in advance
>
> //Tobbe ... almost 53 (in 12 days)  : )
-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to