Since PHP is parsed on the server and not on the client machine, you should
be getting the server time. You can figure out in which TZ the server is by
comparing it to the time where you are.

Steve
----- Original Message ----- 
From: "Alex Hogan" <[EMAIL PROTECTED]>
To: "PHP General list" <[EMAIL PROTECTED]>
Sent: Thursday, June 10, 2004 9:27 AM
Subject: [PHP] Getting Server time


> When I'm using the time() function am I getting the time on the server?
> If not how can I get the time from the server regardless of whether or
> not its in the same time zone as the client.
>
>
> alex hogan
>
>
>
>
>
>
****************************************************************************
*********
> The contents of this e-mail and any files transmitted with it are
confidential and
> intended solely for the use of the individual or entity to whom it is
addressed. The
> views stated herein do not necessarily represent the view of the company.
If you are
> not the intended recipient of this e-mail you may not copy, forward,
disclose, or
> otherwise use it or any part of it in any form whatsoever. If you have
received this
> e-mail in error please e-mail the sender.
>
****************************************************************************
*********
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to