Re: RES: calculate the time that day ends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux