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



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.

Scott Klement wrote:
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.

Okay, thank you for clarifying. I figured that was the case, but I wanted to be sure. I'd like to note that in the heading comments for my procedure. It doesn't matter for my current application, but I want future users of the routine to be aware of this.

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.