Re: print at a specific time
| From: | Brent Clements | Date: | Thu, 02 Sep 2004 02:47:04 +0000 |
| Subject: | Re: print at a specific time | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195502@lists.php.net to get a copy of this message | ||
<?php
$hour = 21;
$minute = 01;
if(date('H')==$hour AND date('i')==$minute)
{ echo "tis $hour:$minute and all is well?"; }
?>
----- Original Message -----
From: "devil_online" <devil_online70@hotmail.com>
To: <php-general@lists.php.net>
Sent: Wednesday, September 01, 2004 9:05 PM
Subject: Re: [PHP] print at a specific time
> and to print at minutes too, kije 9h01?
>
> thanks
> "John Holmes" <holmes072000@charter.net> wrote in message
> news:41367A40.5080507@charter.net...
> > devil_online wrote:
> >
> > > Hi, I want to print or echo something in a specific time like 9.pm.
> > > how can i do it?
> >
> > if(date('H')==21)
> > { echo "'tis 9pm and all is well?"; }
> >
> > --
> >
> > ---John Holmes...
> >
> > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
> >
> > php|architect: The Magazine for PHP Professionals - www.phparch.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>