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 are major variables in research?

618


What is putenv?

659


What are php variables?

605


How failures in execution are handled with include() and require() functions?

670


What is use of isset function in php?

658






can we swap two different string using php for example:-- before swapping:-- 1 string :-hello friend, 2 string :-my dear, after swapping that strings will be: 1.hello dear, 2.my friend.

3167


Explain about a search-friendly site looks like?

558


List some sorting functions in php?

621


How to get best php developer Experience in Php with Sugar CRM / VTiger.

4040


What are the main error types in php and how do they differ?

909


Is java is better than php?

624


How to check an element is exists in array or not in php?

668


What does $_cookie means?

636


What is pdo in php why use?

570


What is the alternative structure for control structures?

675