× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The data from iana.org was the closest thing I could find a few years ago.

My company has offices from Hawaii to New York but we just timestamp everything with local time of our Los Angeles office - PDT/PST.


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck Calabro
Sent: Friday, December 28, 2018 7:59 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Time Zone Computation

On Fri, Dec 28, 2018, 15:43 <txpenguin1@xxxxxxxxxxx wrote:


So, my dilemma is this - based upon a specific date and time, in a specific
city/state, how can I compute the number of hours difference to GMT for
that
moment?


I don't know of a public database of city, date, UTC offset. Because that's
what is needed for a generic solution to this problem. Because the date of
the switch between summer and winter time has changed through the years due
to legislation.

Perhaps a universal, generic solution is overkill for the immediate problem?

-- buck



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.