Peter J. Acklam wrote:
You run into essentially the same problems when dealing with leap
seconds -- which any software using UTC should be able to handle.
For instance, what is one day after 1998-12-31 25:59:60 UTC?  Is
it 1999-01-01 25:59:59 UTC or 1999-01-02 00:00:00 UTC?


I think you mean 1998-12-31 23:59:60 UTC, since there isn't a leap hour yet (until the moon rockets out of orbit in 1999, anyways ;~)...


I would argue that the correct answer should be 1999-01-02 00:00:00 UTC. Add the requested period and then normalize if appropriate.

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748



Reply via email to