Re: Getting Server time
| From: | John Nichel | Date: | Thu, 10 Jun 2004 13:33:09 +0000 |
| Subject: | Re: Getting Server time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188036@lists.php.net to get a copy of this message | ||
Alex Hogan wrote:
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 hoganIt is returning the timestamp of _your_ server, based on the timezone settings of that box.
************************************************************************************* 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. *************************************************************************************Uh-oh, guess I'm going to jail since I replied to the list, and not the OP. ;) -- John C. Nichel KegWorks.com 716.856.9675 john@kegworks.com