note 49857 deleted from function.time by aidan
| From: | aidan@php.net | Date: | Sat, 08 Oct 2005 01:03:59 +0000 |
| Subject: | note 49857 deleted from function.time by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-96613@lists.php.net to get a copy of this message | ||
Note Submitter: cory^dot^mawhorter^at^gmail^dot^com
----
i apoligize, my seconds_to_time function below returns some invalid results
<?php
// to fix the function change all
// the if statements to > 0 instead of > 1
if ($retArr['days'] > 0) $seconds -= $retArr['days'] * 86400;
//--------------------^
?>