>> The one that returns the same value as a commercial DOS compiler will
>> probably be fine. Including Pacific C. BFN. Paul.
> The following code returns different values with Borland, Microsoft and
> Watcom's compilers:
ac> Note that it doesn't compile using Pacific C as they don't provide a mktime
ac> function. (!)
It has a time() function though, which is what everyone else (incorrectly)
uses to get the unix time. I wasn't suggesting that he do such a thing,
just suggesting he can use that crude method to determine which of his
existing algorithms was correct. Of course, your neatly packaged routine
is likely a more direct route! BFN. Paul.
P.S. Which I added to ozpd for next release (it's been a while!)
@EOT:
---
* Origin: X (3:711/934.9)
|