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: a07f3367d7,882afcb22f58537c,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!t9g2000prh.googlegroups.com!not-for-mail From: Michael R Newsgroups: comp.lang.ada Subject: Ada and Time Zones? Date: Sat, 27 Mar 2010 12:43:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2fc573b0-c6e8-413c-9a68-883fe9d7d01d@t9g2000prh.googlegroups.com> NNTP-Posting-Host: 76.126.186.109 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1269719006 9959 127.0.0.1 (27 Mar 2010 19:43:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 27 Mar 2010 19:43:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t9g2000prh.googlegroups.com; posting-host=76.126.186.109; posting-account=iokpWwkAAAC4FdoU8cY5F_WfowBALHIE User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8 GTB6,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:9795 Date: 2010-03-27T12:43:26-07:00 List-Id: Hi Folks, I'm trying to find an Ada 2005 solution to displaying the current time in another time zone and it does seem like I can do it using only the Ada.Calendar packages. E.g., if running in California, how would I determine what the time and date in Paris? Simple UTC offsets does seem to be sufficient as I would also need to know about Daylight Saving Time transitions. It seems the Unix zoneinfo functionality would need to re-implemented in an application to support this (or just call out the libc if running on a Unix system)? Take care, Michael.