TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: andrew clarke
from: Paul Edwards
date: 1996-10-21 06:35:36
subject: Unix timestamp

>> 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)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.