note 57514 deleted from function.fmod by nlopess
| From: | nlopess@php.net | Date: | Thu, 06 Oct 2005 08:30:34 +0000 |
| Subject: | note 57514 deleted from function.fmod by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-96493@lists.php.net to get a copy of this message | ||
Note Submitter: Felix AT hhyc DOT org DOT hk
----
I am not sure if I have read your code wrong, but modulo returns the whole number part, not the
fractional part. So if you take a number of seconds and mod it with number of seconds in a day, you
will get the number of days.