note 30620 added to function.time

From: Date: Mon, 24 Mar 2003 06:34:31 +0000
Subject: note 30620 added to function.time
Groups: php.notes 
Request: Send a blank email to php-notes+get-45717@lists.php.net to get a copy of this message
ACK! i had those times all wrong. $weeks=$time/604800; $days=($time%604800)/86400; $hours=(($time%604800)%86400)/3600; $minutes=((($time%604800)%86400)%3600)/60; $seconds=(((($time%604800)%86400)%3600)%60); that's what it should be. (i added weeks, cuz hey, why not.) -- http://www.php.net/manual/en/function.time.php http://master.php.net/manage/user-notes.php?action=edit+30620 http://master.php.net/manage/user-notes.php?action=delete+30620 http://master.php.net/manage/user-notes.php?action=reject+30620

« previous php.notes (#45717) next »