mktime() problem

From: Date: Tue, 23 Oct 2001 12:33:31 +0000
Subject: mktime() problem
Groups: php.general 
Request: Send a blank email to php-general+get-71926@lists.php.net to get a copy of this message
Hi All, This is my first post to this list so forgive me if this has been covered a million times before.... I'm running 4.0.6 on a Solaris 8 box. The output given by echo mktime(0,0,0,1,1,1970); is 3600. Shouldn't it be 0? My box's locale is set to the UK defaults, so as I write this we are in daylight savings (GMT+1). Would this make a difference? (I have already tried echo mktime(0,0,0,1,1,1970,0); to force non-daylight-savings, but I still get 3600.) Am I doing something wrong, or have I found a bug? Thanks, James

« previous php.general (#71926) next »