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 is a php form?

978


How is session id stored in browser?

977


Is empty java?

986


Explain do you use composer? If yes, what benefits have you found in it?

939


How many columns can be added in a table in mysql?

966


Does php need html?

937


Explain the syntax for ‘foreach’ loop with example.

923


How do you measure variables?

1010


How many data types are used by php?

940


What is strcmp?

923


Is null function in php?

987


Code to upload a file in PHP?

992


What is php trait?

936


What version of php do I have windows?

890


What is json php?

986