Re: Re: [PHP] Get the datetime from server
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 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 Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = = = = = = = = = = = = = = = = = = = = poetbox [EMAIL PROTECTED] 2003-06-19 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Get the datetime from server
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 (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Get the datetime from server
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 Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php