date/mktime bug?

From: Date: Thu, 17 Aug 2000 15:03:12 +0000
Subject: date/mktime bug?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12246@lists.php.net to get a copy of this message
<? echo date("m-d-Y",mktime(0,0,0,0,0,0)); ?> This returns '11-30-1999'. That doesn't seem to make sense - shouldn't it be January 1, 1970 or something like that? php 4.01pl2 (with optimizer), redhat 6.1 ========================== Michael Kimsal http://www.tapinternet.com 734-480-9961

« previous php.general (#12246) next »