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,FREEMAIL_FROM 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!37g2000yqp.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Newbie Q: How to program in UTC (time/calendar) ? Date: Wed, 25 Mar 2009 14:55:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 82.20.239.213 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1238018157 25190 127.0.0.1 (25 Mar 2009 21:55:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Mar 2009 21:55:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 37g2000yqp.googlegroups.com; posting-host=82.20.239.213; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:4315 Date: 2009-03-25T14:55:57-07:00 List-Id: On Mar 25, 3:28=A0pm, tmo...@acm.org wrote: > =A0 Ada.Calendar.Clock can only give your program a reading of the > computer's clock. =A0If you keep changing the computer's clock as you > travel, you will need to inform the data logging program of each change i= n > UTC offset. =A0The simpler approach would be to set the computer's clock = to > UTC at the beginning of the trip and not change it as you travel. I know this is what Windows[1] does, but it isn't what a Real OS (tm) would do (I know there are problems if you dual-boot with Windows and a real OS, better to use VMware running on your native OS perhaps). [1] Has Vista been fixed in this respect?