Re: RES: [PHP] calculate the time that day ends

2009-02-03 Thread Thodoris
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

RES: [PHP] calculate the time that day ends

2009-02-03 Thread Jônatas Zechim
Try: echo date("H:i:s", mktime(23-date("H"), 59-date("i"), 59-date("s")); -Mensagem original- De: Thodoris [mailto:t...@kinetix.gr] Enviada em: terça-feira, 3 de fevereiro de 2009 14:38 Para: Stuart Cc: php-general@lists.php.net Assunto: Re: [PHP] calculate the time that day ends > 200