Have an account? Sign in
Login  Register  Facebook
PHP date and time, easiest way to do?
Ok, I need the easiest way possible to have a thing on my site that says Current Server time: [time] [date]
what is the easiest method for that? I also need it to be in GMT
Started: September 15, 2011 Latest Activity: September 15, 2011 php date time
1 Answer
see this method
echo \'Current Server time:\'.date(RDATE_FC822,$_SERVER[\"REQUEST_TIME\"]);

and change the data format as you like

Posted: MacOS
In: September 15, 2011

Your Answer

xDo you want to answer this question? Please login or create an account to post your answer