Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Dr J R Stockton Newsgroups: comp.lang.javascript Subject: Re: ISO 8601 Code Review Wanted Date: Fri, 23 May 2014 20:44:07 +0100 Organization: Home Lines: 43 Message-ID: References: <8eb3b763-31e1-47b3-9d26-5acbc8662216@googlegroups.com> <+qXJxDObKodTFwb+@invalid.uk.co.demon.merlyn.invalid> <2e1d2869-3f46-4912-88fd-a1b779ce7a44@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain;charset=us-ascii Injection-Info: mx05.eternal-september.org; posting-host="01da9e6251d9b3ee47bb70bebae42d53"; logging-data="20783"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fWAjz7yxAZcQQ8DiKGbqeEZ+MnUnw11c=" User-Agent: Turnpike/6.05-S () Cancel-Lock: sha1:pXsJqSVpAJEqFzRolwfqoLZUsTM= Xref: csiph.com comp.lang.javascript:24391 In comp.lang.javascript message , Thu, 22 May 2014 10:20:56, John Harris posted: >On Wed, 21 May 2014 17:30:57 +0100, Dr J R Stockton > wrote: > > >>GMT is required, in civil life, probably only in the UK and the Crown >>Dependencies. UK law requires GMT / GMT+1, but UK implements it with >>UTC. GMT is not the same as UTC. UTC applies everywhere on Earth, >>though anyone/anything moving at relativistic speeds may have trouble >>with it. > >With time measurement accurate to 1 part in 10^15, 'relativistic' must >be pretty slow these days. 2 mph ? (or is my mental arithmetic wrong?) About right, anyway. But, although JavaScript can measure time to about that accuracy, it can only do so over that number of milliseconds. >>But JavaScript cannot handle UTC, since it does not know about >>leap seconds - it uses imprecise GMT. > > >Rather than imprecise GMT say it uses AT (Atomic Time). >(Note : UTC is AT with a changing offset to keep UTC in step with the >irregular earth's rotation). I used "GMT" because everyone knows what they think it means, but most people think is AT is used to keep Vienna in. AT is not in . H'mmm - an At or Att is a centi-Kip. Perhaps you mean TAI. But JavaScript does not use TAI, as there is no common mechanism for disseminating TAI to computers running JavaScript. In practice, JavaScript is generally intermittently synchronised to UTC, and cruises in a GMT-like manner in between. -- (c) John Stockton, nr London, UK. E-mail, see Home Page. Turnpike v6.05. Website - w. FAQish topics, links, acronyms PAS EXE etc. : - see in 00index.htm Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.