Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2000 17:36:23 +0100
From:      Alexander Langer <alex@big.endian.de>
To:        Thomas David Rivers <rivers@dignus.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: mktime(3) and strange struct tm entries
Message-ID:  <20000107173623.B4381@cichlids.cichlids.com>
In-Reply-To: <200001071628.LAA76267@lakes.dignus.com>; from rivers@dignus.com on Fri, Jan 07, 2000 at 11:28:48AM -0500
References:  <19991231171423.A4219@cichlids.cichlids.com> <200001071628.LAA76267@lakes.dignus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Thomas David Rivers (rivers@dignus.com):

>  I believe this is correct behaviour.

Ok. I got a further question:
From ctime(3):
     til tm_mon and tm_year are determined.  Mktime() returns the specified
     calendar time; if the calendar time cannot be represented, it returns -1;

Which calendar time is meant?
IMO November 31th is void and cannot be represented.

Alex

-- 
I doubt, therefore I might be. 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000107173623.B4381>