[PHP] Getting Server time

2004-06-10 Thread Alex Hogan
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

Re: [PHP] Getting Server time

2004-06-10 Thread John Nichel
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 hogan It is returning the timestamp of _your_ server, based on the timezone

Re: [PHP] Getting Server time

2004-06-10 Thread Steve Douville
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

Re: [PHP] Getting Server time

2004-06-10 Thread Oliver Hankeln
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

Re: [PHP] Getting Server time

2004-06-10 Thread Steve Douville
- From: John Nichel [EMAIL PROTECTED] To: PHP General list [EMAIL PROTECTED] Sent: Thursday, June 10, 2004 9:33 AM Subject: Re: [PHP] Getting Server time 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