D
Dr John Stockton
JRS: In article <[email protected]>, dated
Tue, 7 Sep 2004 03:53:05, seen in Otter
Counting in Y M D is not all that meaningful, since months (and years,
and days) vary in length.
By using the newsgroup FAQ, you should have found one which counts in
days and hh:mm:ss until Xmas noon (js-date2.htm#RC); you should be able
to modify that to count up.
Likewise, you could have found js-date1.htm#DYMD, which gives the
difference between two dates in Y M D.
Note that, since months differ in length, with two dates D1 D2, the YMD
that D2 is after D1 does not necessarily match the YMD that D1 is before
D2, on reasonable definitions.
Tue, 7 Sep 2004 03:53:05, seen in Otter
I've looked high and low for a javascript counter which can break down
to years/month/days since an event happened but I have yet to find
one. I am assuming now that it can't be done otherwise I'm sure I
would have come across one by now. Found lots of unanswered requests
for the same by others.
Counting in Y M D is not all that meaningful, since months (and years,
and days) vary in length.
By using the newsgroup FAQ, you should have found one which counts in
days and hh:mm:ss until Xmas noon (js-date2.htm#RC); you should be able
to modify that to count up.
Likewise, you could have found js-date1.htm#DYMD, which gives the
difference between two dates in Y M D.
Note that, since months differ in length, with two dates D1 D2, the YMD
that D2 is after D1 does not necessarily match the YMD that D1 is before
D2, on reasonable definitions.