Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Simon Vatche Chamlian , djgpp AT delorie DOT com Date: Fri, 13 Nov 1998 09:43:40 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: "localtime" Function In-reply-to: <1998Nov12.184114est.185115-11305@seraph.uunet.ca> X-mailer: Pegasus Mail for Windows (v2.54) Reply-To: djgpp AT delorie DOT com Simon Vatche Chamlian wrote: > On another subject, the reason I was trying to tackle this function is because "time_t" is declared as "long" >in the ANSI C library. Therefore, it's valid up until the year 2037. So I >would like to c> I was just wondering if anybody did the job already (I'm >feeling lazy)? ANSI doesn't say how long is long ;-) so isn't limited to 2037 and in fact that's the reason because the function returns a time_t and not a long! You can't fix it right now because most OSs have this limitation, you'll be forced to wait until your OS becomes 64 bits and recompile. As we are in the djgpp list and we work with DOS it won't happend, but I doubt we will still using DOS by 2030. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013