Re: RES: [PHP] calculate the time that day ends
| From: | Thodoris | Date: | Tue, 03 Feb 2009 16:50:44 +0000 |
| Subject: | Re: RES: [PHP] calculate the time that day ends | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287575@lists.php.net to get a copy of this message | ||
Try: echo date("H:i:s", mktime(23-date("H"), 59-date("i"), 59-date("s"));This is I guess how much time we have to reach midnight. But the question is how to calculate the time that sun stops showing its refreshing light. BTW try not to top post -- Thodoris