On Sun, 28 Mar 1999 09:13:31 +0100, [EMAIL PROTECTED] said:

> It seems that mktime is not happy about a positive value for
> isdst in the tm structure - it being zero during the winter!! and
> causing mktime to return 1- (ie. failure). 

I've just had a look at the source of 'msfclock'

(http://www.rat.org.uk/linux/msfclock)

and that has a little note that if tm_isdst == 1  then the dang thing
crashes.

Like you do now, it has to knock off 3600 seconds :-(

A book that came with Borland C++ 3.1 (remember running NOS under DOS ?)
shows tm_isdst being loaded with -1

Have you investigated a possible function 'gmtime' ??

73, Gareth.

-- 
http://www.rat.org.uk/

Reply via email to