note 19802 deleted from function.getdate by danbrown

From: Date: Sun, 20 Jul 2008 03:08:59 +0000
Subject: note 19802 deleted from function.getdate by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142027@lists.php.net to get a copy of this message
Note Submitter: logan dot hall at asu dot edu ---- 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.

« previous php.notes (#142027) next »