× 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.



Hi, Paul and Vern and Mohammad:

As far as I know, the IBM i OS does not really do much with that "locale" information. Your applications would need to retrieve the currentuser's locale and use that information to do something appropriate, for example, as Larry Bolhuis suggested, you could set the system date to UTC and store all date-time stamps in any database tables or files as UTC, and then whenever you display date/time on a screen or report, use the locale to adjust what the user sees to "local time". Not a trivial effort, as it requires changes to the applications.

I think this is why IBM only went "so far" when they added "timezone support" to the OS, back in V5R3... too many issues that could have adverse impacts on user applications.

Mark S. Waterbury

> On 3/12/2017 12:36 PM, Steinmetz, Paul wrote:
Looking at the source for EN_US locale, at the very bottom are the time entries.
In theory, you could control the time by setting each user profile to a locale for their time zone.
Locale . . .

I'm not sure of the impact of system jobs, would not be able to have multiple times for those jobs.

0555.00 LC_TOD
0556.00
0557.00 tzdiff 300
0558.00 tname "EASTERN"
0559.00 dstname "EDT"
0560.00 dststart 4,2,7,7200
0561.00 dstend 10,5,27,7200
0562.00 dstshift 1800
0563.00
0564.00 END LC_TOD

Paul



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.