|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-08-07 08:16 UTC] pdaugherty at cem dot va dot 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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 17:00:01 2025 UTC |
The result from date("yz") is ok: y=02, and z=218. z is the day of the year from 0..365 (as described in the documentation).