• Who First Thought Of Using GMT/UTC For System Clock?

    From Lawrence D'Oliveiro@3:633/280.2 to All on Wed Oct 30 11:00:55 2024
    One thing Unix (and its POSIX-based successors) did differently from most other OSes was its system clock was not set to local time, but to UTC (and
    to GMT, before UTC). This seems pointless if you are accustomed to only dealing with one time zone, but it turned out to be a very elegant idea,
    that simplified a lot of date/time headaches.

    Was Unix the first to come up with this idea? Did some other OS (Multics, perhaps?) pioneer this convention first?

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Peter Dean@3:633/280.2 to All on Wed Oct 30 13:48:39 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    One thing Unix (and its POSIX-based successors) did differently from most other OSes was its system clock was not set to local time, but to UTC (and to GMT, before UTC). This seems pointless if you are accustomed to only dealing with one time zone, but it turned out to be a very elegant idea, that simplified a lot of date/time headaches.

    Was Unix the first to come up with this idea? Did some other OS (Multics, perhaps?) pioneer this convention first?

    Sorry, I don't know the answer to your question.

    But it means I then have to configure Windows to do the same on my laptops that dual boot. And that works ok, surprisingly for microsoft.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Lawrence D'Oliveiro@3:633/280.2 to All on Wed Oct 30 14:11:29 2024
    On Wed, 30 Oct 2024 02:48:39 -0000 (UTC), Peter Dean wrote:

    But it means I then have to configure Windows to do the same on my
    laptops that dual boot. And that works ok, surprisingly for microsoft.

    I didn’t know Windows had added that option.

    Note that what you’re talking about is the hardware clock, not the OS
    clock per se. Linux, for example, typically only reads the hardware clock
    once at boot time, and writes the current time back to it once at system shutdown. It can be configured, via /etc/adjtime, to read/write the
    hardware clock in either UTC or local time, the latter for compatibility
    with other OSes like Windows; this doesn’t affect the clock the system maintains while it’s running, which is always in UTC.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Peter Dean@3:633/280.2 to All on Wed Oct 30 14:58:15 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Wed, 30 Oct 2024 02:48:39 -0000 (UTC), Peter Dean wrote:

    But it means I then have to configure Windows to do the same on my
    laptops that dual boot. And that works ok, surprisingly for microsoft.

    I didn’t know Windows had added that option.

    Note that what you’re talking about is the hardware clock, not the OS clock per se. Linux, for example, typically only reads the hardware clock once at boot time, and writes the current time back to it once at system shutdown. It can be configured, via /etc/adjtime, to read/write the
    hardware clock in either UTC or local time, the latter for compatibility with other OSes like Windows; this doesn’t affect the clock the system maintains while it’s running, which is always in UTC.

    You are correct that it's issues with the harware clock flipping back and forth.

    I'm mainly on arch so here's a link to their wiki. https://wiki.archlinux.org/title/System_time#UTC_in_Microsoft_Windows

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Chris Ahlstrom@3:633/280.2 to All on Wed Oct 30 22:07:56 2024
    Peter Dean wrote this copyrighted missive and expects royalties:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    One thing Unix (and its POSIX-based successors) did differently from most >> other OSes was its system clock was not set to local time, but to UTC (and >> to GMT, before UTC). This seems pointless if you are accustomed to only
    dealing with one time zone, but it turned out to be a very elegant idea,
    that simplified a lot of date/time headaches.

    Was Unix the first to come up with this idea? Did some other OS (Multics, >> perhaps?) pioneer this convention first?

    Sorry, I don't know the answer to your question.

    But it means I then have to configure Windows to do the same on my laptops that dual boot. And that works ok, surprisingly for microsoft.

    I recently set up a dual boot on a mini PC. That was one "fix". Another was changing the Caps Lock to Ctrl [I did that on my work laptop, only to find that the Corp changed it back].

    Also add Git Bash and MSYS2 to get nicer shells, git, ssh, etc.

    And install VLC to listen to SomaFM. (On Linux I use MPD).

    --
    "It is easier to fight for principles than to live up to them."
    -- Alfred Adler

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: None (3:633/280.2@fidonet)
  • From Daniel@3:633/280.2 to All on Thu Oct 31 00:03:26 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:

    One thing Unix (and its POSIX-based successors) did differently from most other OSes was its system clock was not set to local time, but to UTC (and to GMT, before UTC). This seems pointless if you are accustomed to only dealing with one time zone, but it turned out to be a very elegant idea, that simplified a lot of date/time headaches.

    Was Unix the first to come up with this idea? Did some other OS (Multics, perhaps?) pioneer this convention first?

    Great question. I always thought clocks were set as such because it was
    the standard before computers. Anytime I saw a TV broadcast of an
    upcoming show, they'd say the time of broadcast plus or minus
    GMT/UTC.

    Daniel

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Newshosting.com - Highest quality at a great p (3:633/280.2@fidonet)
  • From Carlos E.R.@3:633/280.2 to All on Thu Oct 31 00:11:07 2024
    On 2024-10-30 03:48, Peter Dean wrote:
    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    One thing Unix (and its POSIX-based successors) did differently from most
    other OSes was its system clock was not set to local time, but to UTC (and >> to GMT, before UTC). This seems pointless if you are accustomed to only
    dealing with one time zone, but it turned out to be a very elegant idea,
    that simplified a lot of date/time headaches.

    Was Unix the first to come up with this idea? Did some other OS (Multics,
    perhaps?) pioneer this convention first?

    Sorry, I don't know the answer to your question.

    But it means I then have to configure Windows to do the same on my laptops that dual boot. And that works ok, surprisingly for microsoft.

    That's a relatively recent change. I think it happened on Windows 7 or
    10. Before that, Windows by default worked with local time only, which
    they inherited from MsDOS.

    On the original IBM PC and most clones you had to type the time and date
    on every boot. Somebody invented an add on card with a permanent clock
    running on a small battery, and which had a small CMOS ram. Eventually,
    that card was made into every motherboard. That small ram was then used
    to hold the bios configuration.

    --
    Cheers, Carlos.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Carlos E.R.@3:633/280.2 to All on Thu Oct 31 00:14:51 2024
    On 2024-10-30 01:00, Lawrence D'Oliveiro wrote:
    One thing Unix (and its POSIX-based successors) did differently from most other OSes was its system clock was not set to local time, but to UTC (and
    to GMT, before UTC). This seems pointless if you are accustomed to only dealing with one time zone, but it turned out to be a very elegant idea,
    that simplified a lot of date/time headaches.

    Was Unix the first to come up with this idea? Did some other OS (Multics, perhaps?) pioneer this convention first?

    Maybe from working with the USA military?
    Or from very early setting computers with remote terminals that could be
    on another time zone. They would soon learn that it was a nightmare to
    hold to local time.

    --
    Cheers, Carlos.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Peter Dean@3:633/280.2 to All on Thu Oct 31 01:48:59 2024
    Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    Peter Dean wrote this copyrighted missive and expects royalties:


    But it means I then have to configure Windows to do the same on my laptops >> that dual boot. And that works ok, surprisingly for microsoft.

    I recently set up a dual boot on a mini PC. That was one "fix". Another was changing the Caps Lock to Ctrl [I did that on my work laptop, only to find that
    the Corp changed it back].

    Also add Git Bash and MSYS2 to get nicer shells, git, ssh, etc.

    makes an arch user feel at home

    And install VLC to listen to SomaFM. (On Linux I use MPD).

    and vim, strawberry perl, tcl, qgis, postgis, etc.

    microsoft just doesn't include much that you need to get your job done. The useful things come from *nix.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Lynn Wheeler@3:633/280.2 to All on Thu Oct 31 06:07:03 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    One thing Unix (and its POSIX-based successors) did differently from most other OSes was its system clock was not set to local time, but to UTC (and to GMT, before UTC). This seems pointless if you are accustomed to only dealing with one time zone, but it turned out to be a very elegant idea, that simplified a lot of date/time headaches.

    Was Unix the first to come up with this idea? Did some other OS (Multics, perhaps?) pioneer this convention first?

    joined ibm science center not long before internal 370 spec. the 370
    hardware tod clock was spec'ed GMT since the start of the century. spent
    a couple months in discussions about whether start of the century was
    1/1/1900 or 1/1/1901 (technically it is 1/1/1901, but lots of places
    were setting it to start 1/1/1900, and then found some setting it with
    start 1/1/1970). the other big discussion was how to handle "leap
    seconds". They finally had to further clarify the public published spec.

    trivia: some of the MIT CTSS/7094 people went to project mac for multics
    on the 5th flr, others went to the ibm science center on the 4th flr.

    from eearly 370 principles of operation.

    Thus, the operator can enable the setting of all clocks in the
    configuration by using the switch ,of any CPU in the configuration.
    time to which a clock value of zero corresponds. January 1, 1900, 0
    A.M. Greenwich Mean Time is recommended as the standard epoch for the
    clock, although some early support of the TOD clock is not based on this
    epoch.

    --
    virtualization experience starting Jan1968, online at home since Mar1970

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Wheeler&Wheeler (3:633/280.2@fidonet)
  • From Lawrence D'Oliveiro@3:633/280.2 to All on Thu Oct 31 07:51:26 2024
    On Wed, 30 Oct 2024 09:07:03 -1000, Lynn Wheeler wrote:

    the 370 hardware tod clock was spec'ed GMT since the start of the
    century.

    Interesting, because Bitsavers has this paper from 1986 wherein it is recommended that an IBM mainframe be rebooted after a change in the daylight-saving setting, just to be safe.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Lawrence D'Oliveiro@3:633/280.2 to All on Thu Oct 31 07:54:38 2024
    On Wed, 30 Oct 2024 14:11:07 +0100, Carlos E.R. wrote:

    On the original IBM PC and most clones you had to type the time and date
    on every boot.

    Funnily enough, you still have to do that on a Raspberry Pi. Because that product has such a low cost, even a battery-backed-up clock would add too
    much to it.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From John Levine@3:633/280.2 to All on Thu Oct 31 08:30:05 2024
    According to Daniel <me@sc1f1dan.com>:
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:

    One thing Unix (and its POSIX-based successors) did differently from most >> other OSes was its system clock was not set to local time, but to UTC (and >> to GMT, before UTC). This seems pointless if you are accustomed to only
    dealing with one time zone, but it turned out to be a very elegant idea,
    that simplified a lot of date/time headaches.

    Was Unix the first to come up with this idea? Did some other OS (Multics, >> perhaps?) pioneer this convention first?

    Page 88.5 of this manual says the Multics clock returned the number of microseconds
    since 00:00 GMT on 1 Jan 1901.

    https://bitsavers.org/pdf/honeywell/large_systems/multics/AG93-05A_subrtns_Nov86.pdf

    I would be surprised if there were earlier systems that used UTC. If you don't have remote access, you might as well use local time.

    CTSS had a get time of day call which returned the date as MMDDYY BCD, and the time in either 60ths of a second or BCD HHMM.M. No mention of time zones so I would assume it was local time in Boston.

    --
    Regards,
    John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
    Please consider the environment before reading this e-mail. https://jl.ly

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Taughannock Networks (3:633/280.2@fidonet)
  • From Scott Lurndal@3:633/280.2 to All on Thu Oct 31 09:19:17 2024
    Reply-To: slp53@pacbell.net

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    On Wed, 30 Oct 2024 14:11:07 +0100, Carlos E.R. wrote:

    On the original IBM PC and most clones you had to type the time and date
    on every boot.

    Funnily enough, you still have to do that on a Raspberry Pi. Because that >product has such a low cost, even a battery-backed-up clock would add too >much to it.

    Not particularly funny, nor true. Several i2c RTC are available for rPI for less than a sawbuck. If network connected, NTP is just a packet away.

    That is the strength of the rPI, configurability and extension.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: UsenetServer - www.usenetserver.com (3:633/280.2@fidonet)
  • From Bob Eager@3:633/280.2 to All on Thu Oct 31 09:26:54 2024
    On Wed, 30 Oct 2024 22:19:17 +0000, Scott Lurndal wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    On Wed, 30 Oct 2024 14:11:07 +0100, Carlos E.R. wrote:

    On the original IBM PC and most clones you had to type the time and
    date on every boot.

    Funnily enough, you still have to do that on a Raspberry Pi. Because
    that product has such a low cost, even a battery-backed-up clock would
    add too much to it.

    Not particularly funny, nor true. Several i2c RTC are available for
    rPI for less than a sawbuck. If network connected, NTP is just a packet away.

    That is the strength of the rPI, configurability and extension.

    Lawrence is wrong yet again. Later Pis can have a battery added to them.
    About 5 pounds here in the UK.



    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Lynn Wheeler@3:633/280.2 to All on Thu Oct 31 10:13:24 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    Interesting, because Bitsavers has this paper from 1986 wherein it is recommended that an IBM mainframe be rebooted after a change in the daylight-saving setting, just to be safe.

    some kernel software only had local time as displacement from GMT ...
    and had to be reassembled and rebooted each time that displacement
    change.


    --
    virtualization experience starting Jan1968, online at home since Mar1970

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Wheeler&Wheeler (3:633/280.2@fidonet)
  • From Lawrence D'Oliveiro@3:633/280.2 to All on Thu Oct 31 13:14:46 2024
    On Wed, 30 Oct 2024 21:30:05 -0000 (UTC), John Levine wrote:

    Page 88.5 of this manual says the Multics clock returned the number of microseconds since 00:00 GMT on 1 Jan 1901.

    https://bitsavers.org/pdf/honeywell/large_systems/multics/AG93-05A_subrtns_Nov86.pdf

    Ah, you mean page 2-88.5? Confused me for a moment.

    The declaration on that page looks like

    declare clock_ entry returns (fixed bin(71));

    71 bits ... pretty ambitious, even for a large system, in those days.
    Of course 1901 was chosen to neatly avoid having to deal with 1900 not
    being a leap year ...

    I tried (Python)

    math.log(time.time_ns() // 1000 + 2177452800 * 1_000_000) / math.log(2)

    and that is about 52 bits today. So still a fair bit of headroom in a
    64-bit int.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Jim Jackson@3:633/280.2 to All on Sat Nov 9 04:21:51 2024
    On 2024-10-30, Scott Lurndal <scott@slp53.sl.home> wrote:
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    On Wed, 30 Oct 2024 14:11:07 +0100, Carlos E.R. wrote:

    On the original IBM PC and most clones you had to type the time and date >>> on every boot.

    Funnily enough, you still have to do that on a Raspberry Pi. Because that >>product has such a low cost, even a battery-backed-up clock would add too >>much to it.

    Not particularly funny, nor true. Several i2c RTC are available for rPI for less than a sawbuck. If network connected, NTP is just a packet away.

    That is the strength of the rPI, configurability and extension.

    Indeed I fully agree - but the bare board (4 or less, I don't know about
    the 5) doesn't have a realtime clock and that is all he is saying. There
    was quite a bit of discussion about that in the rpi forums in the early
    days.

    I have several pi's and the only one that has an i2c RTC addon connected
    is the home server which acts, among another things, as an NTP server
    for the other RPi's and other machines.


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)