Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to get server date and time?

Answer Posted / raja

$timestamp = time();
$datum = date("Y-m-d (D) H:i:s",$timestamp);
echo "Current date and local time on this server is $datum
<br>\n";

Is This Answer Correct ?    14 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between session and cookie?

993


What are constructor and destructor in PHP?

1077


Explain mixed and callback functions?

1094


What is the mysql injection?

978


Is array a key php?

946


Explain about require and include function?

971


How to copy a file?

1053


What is super () python?

1016


What are the uses of implode() function?

1064


What is session data?

943


How to Pass JSON Data in a URL using CURL in PHP?

1053


Can we use session in mvc?

978


What can php do?

987


How many open modes available when a file open in PHP?

1148


Why is node js better than php?

1110