Re: Getting Server time

From: Date: Thu, 10 Jun 2004 13:38:42 +0000
Subject: Re: Getting Server time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-188038@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.
That's quite easy: PHP runs on the server. What time is it you will get? The server's. HTH Oliver

« previous php.general (#188038) next »