| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Unix timestamp |
ac> The following code returns different values with Borland, Microsoft and ac> Watcom's compilers: Well I was shocked. ac> Results: ac> Borland C++ for DOS 3.1 : 845762400 ac> DJGPP 2.0 : 845712000 ac> EMX : 845748000 ac> Microsoft QuickC for DOS 2.5 : 845748000 ac> Watcom C/C++ for DOS 10.0 : 845712000 Then I thought that it might have been something to do with the timezone offset. Sure engouth 48000-12000 = 10 hours. Get rid of the TZ environment variable and the bottom 4 should return the same value. Ok, so I don't have a theory for the first. BFN. Paul. @EOT: ---* Origin: X (3:711/934.9) SEEN-BY: 633/267 270 @PATH: 711/934 808 50/99 635/728 633/267 |
|
| 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™.