ALLInterview.com
Categories
|
Companies
|
Placement Papers
|
Code Snippets
|
Certifications
|
Visa Questions
Post Questions
|
Post Answers
|
My Panel
|
Search
|
Topics
|
Errors
selc
{ City } chennai
< Country > india
* Profession * php developer
User No #
21592
Total Questions Posted #
0
Total Answers Posted #
2
Total Answers Posted for My Questions # 0
Total Views for My Questions # 0
Users Marked my Answers as Correct # 21
Users Marked my Answers as Wrong # 14
Questions / { selc }
Questions
Answers
Category
Views
Company
eMail
Answers / { selc }
Question
{
20070 }
how to get server date and time?
Answer
date("h-i-s");
Is This Answer Correct ?
7 Yes
7 No
Question
{
20070 }
how to get server date and time?
Answer
$timestamp = time();
$datum = date("Y-m-d (D) H:i:s",$timestamp);
echo "Current date and local time on this server is $datum
\n";
Is This Answer Correct ?
14 Yes
7 No