Does Dimdows Know What Time It Is?

Liste des GroupesRevenir à ol advocacy 
Sujet : Does Dimdows Know What Time It Is?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.advocacy
Date : 29. Sep 2024, 00:40:24
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vda0ko$1e457$1@dont-email.me>
User-Agent : Pan/0.160 (Toresk; )
Something Unix did that was different from most other OSes was, its system
clock kept time in UTC (or GMT, in pre-UTC days). Linux does the same.
When you use a command like “date” to see what the current date and time
is, it converts that UTC time to a local time in some specified timezone.
Changing the timezone is as easy as specifying a new value for the TZ
environment variable.

Windows, on the other hand, keeps its system clock in local time, in some
specific time zone that is assumed to apply systemwide.

This is a particularly dumb idea when you realize how much it complicates
things if your time zone has daylight saving time. We have seen this sort
of thing happen on Windows systems before, where they might forget to
adjust the clock to start/stop daylight saving, or even adjust it twice so
you end up being an hour off in the opposite direction.

This can’t happen on Linux systems, because there is no turning daylight
saving “on” or “off” as such: there is simply a table of local time
offsets (from the “tzdata” files), and the correct offset to apply depends
only on the actual UTC time value, not on the current setting of any
system flag.

This also makes it easy to convert between UTC and local times at any time
in the past, for any time zone.

Date Sujet#  Auteur
29 Sep00:40 * Does Dimdows Know What Time It Is?27Lawrence D'Oliveiro
29 Sep01:21 +* Re: Does Dimdows Know What Time It Is?2vallor
29 Sep01:59 i`- Re: Does Dimdows Know What Time It Is?1Lawrence D'Oliveiro
29 Sep20:59 `* Re: Does Dimdows Know What Time It Is?24DFS
29 Sep22:04  +- Re: Does Dimdows Know What Time It Is?1Stéphane CARPENTIER
30 Sep03:24  +* Re: Does Dimdows Know What Time It Is?2Lawrence D'Oliveiro
30 Sep21:40  i`- Re: Does Dimdows Know What Time It Is?1candycanearter07
30 Sep08:34  +* Re: Does Dimdows Know What Time It Is?10RonB
1 Oct07:19  i+* Re: Does Dimdows Know What Time It Is?8RonB
1 Oct20:30  ii+- Re: Does Dimdows Know What Time It Is?1rbowman
1 Oct20:51  ii+* Re: Does Dimdows Know What Time It Is?4Farley Flud
1 Oct22:40  iii`* Re: Does Dimdows Know What Time It Is?3DFS
2 Oct14:23  iii `* Re: Does Dimdows Know What Time It Is?2RonB
2 Oct15:12  iii  `- Re: Does Dimdows Know What Time It Is?1RonB
2 Oct14:19  ii`* Re: Does Dimdows Know What Time It Is?2RonB
2 Oct15:09  ii `- Re: Does Dimdows Know What Time It Is?1RonB
2 Oct04:59  i`- Re: Does Dimdows Know What Time It Is?1Lawrence D'Oliveiro
30 Sep12:59  +* Re: Does Dimdows Know What Time It Is?2Chris Ahlstrom
2 Oct16:29  i`- Re: Does Dimdows Know What Time It Is?1DFS
1 Oct14:26  `* Re: Does Dimdows Know What Time It Is?8Joel
1 Oct20:31   `* Re: Does Dimdows Know What Time It Is?7rbowman
2 Oct00:05    +- Re: Does Dimdows Know What Time It Is?1Joel
2 Oct04:59    `* Re: Does Dimdows Know What Time It Is?5Lawrence D'Oliveiro
2 Oct05:01     +* Re: Does Dimdows Know What Time It Is?2Joel
2 Oct05:51     i`- Re: Does Dimdows Know What Time It Is?1rbowman
2 Oct06:07     `* Re: Does Dimdows Know What Time It Is?2DFS
2 Oct06:49      `- Re: Does Dimdows Know What Time It Is?1vallor

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal