Deutsch   English   Français   Italiano  
<87cydb28gu.fsf@nosuchdomain.example.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: "A diagram of C23 basic types"
Date: Wed, 16 Apr 2025 12:48:49 -0700
Organization: None to speak of
Lines: 26
Message-ID: <87cydb28gu.fsf@nosuchdomain.example.com>
References: <87y0wjaysg.fsf@gmail.com> <vsjef3$1u4nk$1@dont-email.me>
	<vsjg6t$20pdb$1@dont-email.me> <vsjgjn$1v1n4$1@dont-email.me>
	<vsjk4k$24q5m$1@dont-email.me> <vsjlcp$230a5$1@dont-email.me>
	<vsni1v$291i3$5@dont-email.me>
	<slrnvv82gk.2aciv.candycanearter07@candydeb.host.invalid>
	<vt1a7f$i5jd$1@dont-email.me> <vti36r$g4nu$2@dont-email.me>
	<slrnvvqhmc.2eh69.candycanearter07@candydeb.host.invalid>
	<vtjknt$1sp26$1@dont-email.me> <vtk2f9$295ku$2@dont-email.me>
	<vtka7u$2ddeu$1@dont-email.me> <CNtLP.2611170$TBhc.2589292@fx16.iad>
	<vtm71q$78l6$3@dont-email.me>
	<87plhd0z76.fsf@nosuchdomain.example.com>
	<slrnvvvdch.3gc99.candycanearter07@candydeb.host.invalid>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 16 Apr 2025 21:48:56 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d66e934c2e3cca42eaa548516797f624";
	logging-data="3083081"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/f+M0AEgyMayyxOMOMxf6w"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:uwVJR0UzK7tCCcDKYp0S0M8yt6Y=
	sha1:wcUBjlyWvx+60GtfWkYkPbuz83g=

candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>
writes:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote at 23:42 this Tuesday (GMT):
[...]
>> The epoch is a specified moment in time.  That moment can be
>> expressed as midnight UTC Jan 1 1970, as 4PM PST Dec 31 1969,
>> or (time_t)0.  GMT/UTC is just a convenient way to specify it.
>
> You could also be GoLang and use MST January 2 2006 at 3:04:05 PM.
> (1/2 03:04:05 PM 2006 GMT-7)

That's not an epoch.  It's a reference time used in documentation,
chosen because all the fields have unique values.  It means that results
of converting a time to the dozen or so supported layouts can be easily
read.

[...]

> Datetime is a nightmare, this is why we use a simple seconds-since-X
> system.

Indeed.  That makes it a slightly less unpleasant nightmare.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */