From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,aa60d56d22a287d1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!c36g2000yqn.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Newbie Q: How to program in UTC (time/calendar) ? Date: Tue, 24 Mar 2009 16:59:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: <180637e5-1975-4f03-901d-aff65cdcf54e@c36g2000yqn.googlegroups.com> References: <89277c47-788d-441c-95b2-f47e1b70a532@j39g2000yqn.googlegroups.com> <572820e4-9243-42aa-b05f-fc4dd8ac4ade@a12g2000yqm.googlegroups.com> NNTP-Posting-Host: 81.151.68.6 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1237939151 28597 127.0.0.1 (24 Mar 2009 23:59:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 24 Mar 2009 23:59:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c36g2000yqn.googlegroups.com; posting-host=81.151.68.6; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.7) Gecko/2009021906 Firefox/3.0.7,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:4271 Date: 2009-03-24T16:59:11-07:00 List-Id: On Mar 24, 6:53=A0pm, Dirk Heinrichs wrote: > Martin wrote: > > These sort of things make sensible time computations hard, e.g. what > > does "1:30am" mean if the clocks have gone back an hour for winter at > > 2am? Is it the first 1:30am or the second that night? > > I'd say that depends on the OS you run your program on (and its > configuration). Exactly - and the times in the original question may not even have come from the computer doing the calculations - they could be a log from e.g. a Sat Nav - what would it be doing? Cheers -- Martin