Re: time of day
| From: | Kevin Stone | Date: | Thu, 03 Oct 2002 22:00:40 +0000 |
| Subject: | Re: time of day | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118787@lists.php.net to get a copy of this message | ||
PHP can give you the server time, but for this I think it would be better to
have the user's local time, in which case Javascript would provide a better
solution.
-Kevin
----- Original Message -----
From: "Bryan Koschmann - GKT" <gktnews@gktech.net>
To: "PHP General" <php-general@lists.php.net>
Sent: Thursday, October 03, 2002 3:43 PM
Subject: [PHP] time of day
> Hello,
>
> I was wondering if anyone has a good example of a way to do this. Kinda
> lame, but like if the time is between 8am and 12pm, say "good morning",
> between 12pm and 6pm, say good afternoon, and so on.
>
> I know this is probably pretty trivial, but I just wanted to see what
> ideas where out there.
>
> Thanks in advance!
>
> Bryan
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>