Try: echo date("H:i:s", mktime(23-date("H"), 59-date("i"), 59-date("s")); -----Mensagem original----- De: Thodoris [mailto:tgol@xxxxxxxxxx] Enviada em: terça-feira, 3 de fevereiro de 2009 14:38 Para: Stuart Cc: php-general@xxxxxxxxxxxxx Assunto: Re: calculate the time that day ends > 2009/2/3 Thodoris <tgol@xxxxxxxxxx>: > >> I was wondering if there is way to find out what is the time that every >> day ends? I am planning to add this to the first page on an interface I am >> developing. >> > > Most days end at midnight, but there may be some exceptions ;-) > > Seriously though, not really sure what you're asking. > > -Stuart > > :-) Sorry Stuart I should have made it more clear. I meant the time that the sun goes down and the dark night finally comes. The time that a vampire can safely go for a pizza without burning himself. Of course Blade is an exception thrown out of the blue. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php