Newsgroups: comp.os.msdos.djgpp Subject: Re: mktime(01/01/70;00:00:XX) From: richard AT stardate DOT bc DOT ca (Richard Sanders) X-Newsreader: WinVN 0.99.9 (Released Version) (x86 32bit) References: <3aafd182 AT filemon DOT telecable DOT es> MIME-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII NNTP-Posting-Host: wlp02.rapidnet.net Message-ID: <3ab04a94_1@rapidnet.net> Date: 14 Mar 2001 20:52:36 -0800 X-Trace: binaries.vphos.net 984631956 wlp02.rapidnet.net (14 Mar 2001 20:52:36 -0800) Organization: Rapidnet Internet Lines: 8 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >It seems to work, but when I give it low values of 1970, it returns -1 >, so I am afraid it is bad technique. mktime yeils 0 when the time and date is set to 00:00hrs Jan 1st 1980, a lesser date has to produve an error.