On 11/22/2011 10:17 PM, Scott Klement wrote:
It might be worth noting that this API (as coded) is expected to stop working in the year 2038, as that's when there will be so many seconds they don't fit in the 10i 0 variable. Many Unix systems have changed the result of time() to be unsigned, so it'll run longer... but it doesn't look like IBM has done this. But, even if you didn't know C or Unix, and didn't know about the time() API, I can't see why you'd retrieve the timezone, et al... wouldn't you just call the CEEUTC API? (OR CEELOCT for local?)
That's why there's time64() that takes a time64_t struct;

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.