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:[EMAIL PROTECTED]]
> Sent: 20 May 2001 15:51
> To: [EMAIL PROTECTED]
> Subject: [PHP] time
>
>
> quickly can some one tell me if time() return server or usersystem time?
>
Regards,
--
Don Read [EMAIL PROTECTED]
-- 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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]