Re: Math problems (No not high school math!)
| From: | Lupus Michaelis | Date: | Thu, 25 Sep 2008 17:33:47 +0000 |
| Subject: | Re: Math problems (No not high school math!) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280931@lists.php.net to get a copy of this message | ||
Jason Pruim a écrit :
If you're working with legal dates, this is wrong. A day can be 23 or 25 hours long. Thing about time changing (winter and summer time). Use strtotime to avoid this kind of problems. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org$totalday = $totalday/60/60;