#18779 [Opn]: Date("yz") returns wrong julian date

From: Date: Wed, 07 Aug 2002 12:19:33 +0000
Subject: #18779 [Opn]: Date("yz") returns wrong julian date
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16153@lists.php.net to get a copy of this message
ID: 18779 User updated by: pdaugherty@cem.va.gov Reported By: pdaugherty@cem.va.gov Status: Open Bug Type: Date/time related -Operating System: Redhat Linux 7.3 Kernal 2.4.18-5 +Operating System: Redhat Linux 7.3 Kernel 2.4.18-5 PHP Version: 4.2.1 New Comment: edit spelling Previous Comments: ------------------------------------------------------------------------ [2002-08-07 08:16:33] pdaugherty@cem.va.gov Date("yz") returns wrong julian date. For 8/7/02, php funcion 'date("yz")' returns 02218, which is wrong. Php function 'date("d-M-Y") returns 07-Aug-2002, which is correct. The shell command "date +%j" returns the proper julian date of 219. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18779&edit=1

« previous php.bugs (#16153) next »