Re: Re: [PHP] Get the datetime from server

2003-06-06 Thread poetbox
CPT John W. Holmes, Thank you very much,you're right!I've got it just now:-)Perhaps I tested it on localhost yesterday.This function is very good. === 2003-06-05 07:07:00 === Can anyone teach me how to get the date and time from the web-server,it's not changed with the time

[PHP] Get the datetime from server

2003-06-05 Thread poetbox
Hi all, Can anyone teach me how to get the date and time from the web-server,it's not changed with the time of local machine. I found the date() cannot do this. Thank you! poetbox [EMAIL PROTECTED] 2003-06-05 -- PHP General Mailing List

Re: [PHP] Get the datetime from server

2003-06-05 Thread CPT John W. Holmes
Can anyone teach me how to get the date and time from the web-server,it's not changed with the time of local machine. I found the date() cannot do this. That's exactly what date() does... the date and time from the server. Maybe you're using it wrong. ---John Holmes... -- PHP General