🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2203

Re: timezone info left out of time.h?

#2203
From: Norman Diamond
Date: Sat, 03 Oct 1992 04:24
13 lines
1354 bytes
In article <PDS.92Oct1193222@lemming.webo.dg.com> pds@lemming.webo.dg.com (Paul D. Smith) writes:
>the standard allows an implementation to either be aware of timezone info or
>not (by setting tm_isdst to a negative value and returning NULL from gmtime).
>[...] does anyone have any opinions on why some method of determining the
>local timezone displacement from UTC was not included in the standard?

Your local timezone displacement (in Massachusetts) now is -4 hours but next
month will be -5 hours.  It is only meaningful to compute local time for a
particular instant of time.
--
Norman Diamond       diamond@jit081.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.
"Yeah -- bad wiring.  That was probably it.  Very bad."
Technical Details
Message-ID: <1992Oct3.042403.1567@nntpd.lkg.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!jit345.bad.jit.dec.com!diamond
References: <PDS.92Oct1193222@lemming.webo.dg.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!jit345.bad.jit.dec.com!diamond
From: diamond@jit345.bad.jit.dec.com (Norman Diamond)
Subject: Re: timezone info left out of time.h?
Message-ID: <1992Oct3.042403.1567@nntpd.lkg.dec.com>
Sender: usenet@nntpd.lkg.dec.com (USENET News System)
Reply-To: diamond@jit.dec.com (Norman Diamond)
Organization: Digital Equipment Corporation Japan , Tokyo
References: <PDS.92Oct1193222@lemming.webo.dg.com>
Date: Sat, 3 Oct 1992 04:24:03 GMT
Lines: 13