|
On Behalf Of Scott Klement
On 11/22/2011 12:40 PM, James Lampert wrote:
That is SLICK! I thought I'd come up with a simple solution (SUBDUR),
but this is even better (and doesn't require the time zone to be either
hardcoded or explicitly retrieved).
Dennis is calling the time() API, which has been a standard API on Unix
forever. But he seems to have added some extra code that I don't
understand the purpose for.
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?)
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.