Bug #1501: date() wackiness?

From: Date: Mon, 07 Jun 1999 18:11:18 +0000
Subject: Bug #1501: date() wackiness?
Groups: php.dev 
Request: Send a blank email to php-dev+get-6666@lists.php.net to get a copy of this message
From: mute@snip.net Operating system: linux PHP version: 3.0.9 PHP Bug Type: Misbehaving function Bug description: date() wackiness? Just compiled 3.0.9, had heard of some possible issues with date() but was doing some stuff on my own. The following: echo date("F",mktime(0,0,0,1,0,0)); Returns: "December" When it should return "January" Upon looking at the manual online i saw the example of: $epoch = date ("D F dS...",mktime(0,0,0,0,0,0)); echo $epoch; Which is supposed to return: "Wed December 31st 1969..." On my system it returns: "Wed December 31st..." Sorry if this has been mentioned im new to all of this :) -kyle

« previous php.dev (#6666) next »