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
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
2 matches
Mail list logo