ErikH2000 wrote:
Well, I am ignorant about Irix and Unix in general. Is there a system-wide timezone setting stored somewhere?
According to my man pages:
\"
localtime, localtime_r, gmtime, and
gmtime_r return pointers to tm structures,
described below. localtime and localtime_r
correct for the main time zone and possible
alternate (``daylight savings\'\') time
zone;\"
But VS\'s help says:
\"
localtime corrects for the local time
zone if the user first sets the global
environment variable TZ. When TZ is set,
three other environment variables (_timezone,
daylight, and _tzname) are automatically set
as well. See _tzset for a description of
these variables. TZ is a Microsoft extension
and not part of the ANSI standard definition
of localtime.\"
So it looks like localtime should return a good structure on a Unix box but the current method should be used for Windows.
The Metakit database library is used to store and retrieve data in .DAT files. I understand that it automatically performs big-endian/little-endian conversions when data is accessed. So a .DAT file created on a big-e system will be usable on a little-e system.
Ahh, quite a relief. I\'ll cross my fingers and hope it all works without changing anything
Mike Rimer\'s export format is XML and all numbers are represented as text strings. So I think we avoided endian problems there too.
Another relief. I was looking at the files in Dat1.11c and got worried. Come to think of it, I was wondering why expat was linked in. Aha!
Edit: the code tags made it ugly
[Edited by Schik on 02-14-2003 at 01:12 PM GMT]
____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--
Mahatma Gandhi