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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to