Re: Does Dimdows Know What Time It Is?

Liste des GroupesRevenir à col advocacy 
Sujet : Re: Does Dimdows Know What Time It Is?
De : joelcrump (at) *nospam* gmail.com (Joel)
Groupes : comp.os.linux.advocacy
Date : 01. Oct 2024, 14:26:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <5hqnfjlho4m2gbj9u8d9bhqnj8cg5v74bv@4ax.com>
References : 1 2
User-Agent : ForteAgent/8.00.32.1272
DFS <nospam@dfs.com> wrote:
On 9/28/2024 6:40 PM, Lawrence D'Oliveiro wrote:
>
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.
>
>
I NEVER trust Linux to keep time.  I've encountered several occurrences
of it dropping 5-7 minutes over a 1-hour period.
>
>
* user error
* Linux is just the kernel
* RTFM newb
* Linux is perfect
* you're lying
* works for me
* you have the source code, fix it yourself


Why is something other than the hardware clock determining the system
time, on either OS?

--
Joel W. Crump

Amendment XIV
Section 1.

[...] No state shall make or enforce any law which shall
abridge the privileges or immunities of citizens of the
United States; nor shall any state deprive any person of
life, liberty, or property, without due process of law;
nor deny to any person within its jurisdiction the equal
protection of the laws.

Dobbs rewrites this, it is invalid precedent.  States are
liable for denying needed abortions, e.g. TX.

Date Sujet#  Auteur
29 Sep00:40 * Does Dimdows Know What Time It Is?16Lawrence 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?13DFS
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?5RonB
1 Oct07:19  i`* Re: Does Dimdows Know What Time It Is?4RonB
1 Oct20:30  i +- Re: Does Dimdows Know What Time It Is?1rbowman
1 Oct20:51  i `* Re: Does Dimdows Know What Time It Is?2Farley Flud
1 Oct22:40  i  `- Re: Does Dimdows Know What Time It Is?1DFS
30 Sep12:59  +- Re: Does Dimdows Know What Time It Is?1Chris Ahlstrom
1 Oct14:26  `* Re: Does Dimdows Know What Time It Is?3Joel
1 Oct20:31   `* Re: Does Dimdows Know What Time It Is?2rbowman
2 Oct00:05    `- Re: Does Dimdows Know What Time It Is?1Joel

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal