🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4204

Re: mktime murk

#4204
From: Stan Ryckman
Date: Mon, 09 Oct 1995 16:38
26 lines
1462 bytes
In article <4567mh$3fb@info1.sdrc.com>,
Larry Jones <scjones@thor.sdrc.com> wrote:
>In article <452i5b$8s4@light.twinsun.com>, eggert@twinsun.com (Paul Eggert) writes:
>> All the standard says (in
>> a footnote) is that mktime must ``presume initially that Daylight
>> Savings Time ... is ... in effect for the specified time''.  The
>> standard does not say what mktime does if this presumption is
>> impossible to satisfy.
>
>What does it mean to say that a presumption is impossible to satisfy? 

I would think that it is impossible to satisfy a presumption for
1996-04-07 02:30:00 E?T
where "?" is "D" or "S", for example.  That time does not exist
in the U.S. (except in areas that are on year-round EST).
[Or is it 01:30?  Now I've forgotten the exact rule  :-(  ]

So what is mktime to do with this?  Is it specified?  Does it matter?

(Another reason I'm glad I use GMT internally for everything.)

Cheers,
Stan.
-- 
HELP!  I'M BEING HELD PRISONER IN A .SIGNATURE FACTORY!
    Stan Ryckman   sgr@alden.com
Technical Details
Message-ID: <45bj5r$pku@ae-sun01.alden.com>
Path: arc1-ca.pugleaf.net!alden.com!not-for-mail
References: <44mio5$63n@mark.ucdavis.edu> <812657476snz@genesis.demon.co.uk> <452i5b$8s4@light.twinsun.com> <4567mh$3fb@info1.sdrc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!alden.com!not-for-mail
From: sgr@ae-sun01.alden.com (Stan Ryckman)
Newsgroups: comp.std.c
Subject: Re: mktime murk
Date: 9 Oct 1995 12:38:19 -0400
Organization: Amber & Sneakers Fan Club
Message-ID: <45bj5r$pku@ae-sun01.alden.com>
References: <44mio5$63n@mark.ucdavis.edu> <812657476snz@genesis.demon.co.uk> <452i5b$8s4@light.twinsun.com> <4567mh$3fb@info1.sdrc.com>
NNTP-Posting-Host: ae-sun01.alden.com