Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #24391

Re: ISO 8601 Code Review Wanted

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 <reply1400@merlyn.demon.co.uk.invalid>
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 <D9C2kOYHU6fTFwtJ@invalid.uk.co.demon.merlyn.invalid> (permalink)
References <8eb3b763-31e1-47b3-9d26-5acbc8662216@googlegroups.com> <+qXJxDObKodTFwb+@invalid.uk.co.demon.merlyn.invalid> <ee22e470-d76e-4edd-aece-4886b6e031a1@googlegroups.com> <2e1d2869-3f46-4912-88fd-a1b779ce7a44@googlegroups.com> <ilT+yWmBTNfTFw4N@invalid.uk.co.demon.merlyn.invalid> <b8grn9ddh5slf5ml2u9hmd8s88v4f2frea@4ax.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 (<h47ExRUkcs8NDA9ubu0bCn8oOW>)
Cancel-Lock sha1:pXsJqSVpAJEqFzRolwfqoLZUsTM=
Xref csiph.com comp.lang.javascript:24391

Show key headers only | View raw


In comp.lang.javascript message <b8grn9ddh5slf5ml2u9hmd8s88v4f2frea@4ax.
com>, Thu, 22 May 2014 10:20:56, John Harris
<niam@jghnorth.org.uk.invalid> posted:

>On Wed, 21 May 2014 17:30:57 +0100, Dr J R Stockton
><reply1400@merlyn.demon.co.uk.invalid> wrote:
>
>  <snip>
>>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.
>  <snip>
>
>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
<http://stjarnhimlen.se/comp/time.html>.  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  <http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
 PAS EXE etc. : <http://www.merlyn.demon.co.uk/programs/> - see in 00index.htm
 Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ISO 8601 Code Review Wanted garrett.smith@acxiom.com - 2014-05-14 09:59 -0700
  Re: ISO 8601 Code Review Wanted John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-15 10:15 +0100
    Re: ISO 8601 Code Review Wanted Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-15 21:31 +0200
      Re: ISO 8601 Code Review Wanted dhtml <dhtmlkitchen@gmail.com> - 2014-05-15 12:53 -0700
        Re: ISO 8601 Code Review Wanted dhtml <dhtmlkitchen@gmail.com> - 2014-05-15 13:12 -0700
        Re: ISO 8601 Code Review Wanted Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-15 22:21 +0200
          Re: ISO 8601 Code Review Wanted "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-05-16 00:44 +0200
            Re: ISO 8601 Code Review Wanted Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-16 01:26 +0200
              Re: ISO 8601 Code Review Wanted "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-05-16 09:39 +0200
                bitwise vs. logical OR operator (was: ISO 8601 Code Review Wanted) Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-16 12:50 +0200
                Re: bitwise vs. logical OR operator (was: ISO 8601 Code Review Wanted) dhtml <dhtmlkitchen@gmail.com> - 2014-05-16 11:21 -0700
  Re: ISO 8601 Code Review Wanted Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> - 2014-05-16 22:26 +0100
    Re: ISO 8601 Code Review Wanted dhtml <dhtmlkitchen@gmail.com> - 2014-05-19 11:56 -0700
      Re: ISO 8601 Code Review Wanted dhtml <dhtmlkitchen@gmail.com> - 2014-05-19 17:03 -0700
        Re: ISO 8601 Code Review Wanted Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> - 2014-05-21 17:30 +0100
          Re: ISO 8601 Code Review Wanted John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-22 10:20 +0100
            Re: ISO 8601 Code Review Wanted Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> - 2014-05-23 20:44 +0100
              Re: ISO 8601 Code Review Wanted John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-24 15:54 +0100
          Re: ISO 8601 Code Review Wanted Tim Streater <timstreater@greenbee.net> - 2014-05-22 18:46 +0100
            Re: ISO 8601 Code Review Wanted dhtml <dhtmlkitchen@gmail.com> - 2014-05-25 22:18 -0700
              Re: ISO 8601 Code Review Wanted Tim Streater <timstreater@greenbee.net> - 2014-05-26 11:41 +0100
                Re: ISO 8601 Code Review Wanted dhtml <dhtmlkitchen@gmail.com> - 2014-05-28 09:54 -0700
          Re: ISO 8601 Code Review Wanted dhtml <dhtmlkitchen@gmail.com> - 2014-05-23 10:37 -0700
            Re: ISO 8601 Code Review Wanted Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> - 2014-05-24 19:09 +0100
  Re: ISO 8601 Code Review Wanted dhtml <dhtmlkitchen@gmail.com> - 2014-05-23 13:14 -0700

csiph-web