RES: [PHP] calculate the time that day ends

From: Date: Tue, 03 Feb 2009 16:44:44 +0000
Subject: RES: [PHP] calculate the time that day ends
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-287572@lists.php.net to get a copy of this message
Try: echo date("H:i:s", mktime(23-date("H"), 59-date("i"), 59-date("s")); -----Mensagem original----- De: Thodoris [mailto:tgol@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 > 2009/2/3 Thodoris <tgol@kinetix.gr>: > >> 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

« previous php.general (#287572) next »