how to get server date and time?

Answer Posted / selc_sekar

$date1=date("h-i-s");

Is This Answer Correct ?    14 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of the '.myi' file extension? What do thes file contain?

526


How to remove values saved in the current session?

537


Explain about objects in PHP?

578


What are the uses of explode() function?

561


What is foreach loop in php?

535






How can I increase my website session?

542


What is a composer in PHP?

545


Explain the difference between $message and $$message?

558


Why do we use htaccess

634


How do I stop php artisan serve in windows?

502


Why is node js better than php?

613


What is use of isset function in php?

593


What is the purpose of constant() function?

524


Can you pass an array into a function?

561


Explain me what is the use of header() function in php?

623