RE: [PHP] time
| From: | Don Read | Date: | Thu, 21 Jun 2001 17:36:27 +0000 |
| Subject: | RE: [PHP] time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54770@lists.php.net to get a copy of this message | ||
On 20-Jun-01 Ray Hilton wrote:
> well, if its a server side script, the only clock available to it is the
> one on the server...
>
Errmm ...
putenv('TZ=PST8PDT'); // default to Pacific time
if (isset($usertz))
putenv("TZ=$usertz");
$dtstr= date('Y-m-d h:i');
...
> -----Original Message-----
> From: Jon Yaggie [mailto:dmsales@design-monster.com]
> Sent: 20 May 2001 15:51
> To: php-general@lists.php.net
> Subject: [PHP] time
>
>
> quickly can some one tell me if time() return server or usersystem time?
>
Regards,
--
Don Read dread@texas.net
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.