|
Adam Glauser wrote:
The result of CEEUTCO (get system offset from UTC) is retrieved only once per activation group. It is stored in a static variable and reused whenever the procedure is called.
that's just to make the code more efficient. On my system, this routine may be executed many thousands of times. It doesn't make sense to call the API every single time, since the time zone isn't likely to change.
The only time the UTC offset changes on my system is when daylight savings time starts/ends... and I don't have production apps running at that time.
As an Amazon Associate we earn from qualifying purchases.
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.