note 19802 added to function.getdate

From: Date: Mon, 11 Mar 2002 17:32:41 +0000
Subject: note 19802 added to function.getdate
Groups: php.notes 
Request: Send a blank email to php-notes+get-27630@lists.php.net to get a copy of this message
It seems that 'yday' (the day of the year) that php produces is one less than what the unix 'date +%j' produces. Not sure why this is, but I would guess that php uses 0-365 rather than 1-366 like unix does. Just something to be careful of. -- http://www.php.net/manual/en/function.getdate.php http://master.php.net/manage/user-notes.php?action=edit+19802 http://master.php.net/manage/user-notes.php?action=delete+19802 http://master.php.net/manage/user-notes.php?action=reject+19802

« previous php.notes (#27630) next »