note 64953 deleted from function.date by derick

From: Date: Sun, 11 Jun 2006 11:46:07 +0000
Subject: note 64953 deleted from function.date by derick
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-114264@lists.php.net to get a copy of this message
Note Submitter: d9d9 ---- Simpliest way to calculate number days between dates: $days = date('j', $date1 - $date2); And no "magic numbers" required. Not tested too much but seems to work as intended.

« previous php.notes (#114264) next »