how to display and include the user system date/time in a
php program/project

Answer Posted / shivshambhu@ymail.com

<? php
echo date("F d,Y H:i:sa");

?>
output:-September 23,2010 21:38:54pm

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is php sequence?

533


How do you put a space in html?

520


How do you measure variables?

524


How can we check the value of a given variable is alphanumeric?

545


What is a lambda function in php?

608






Which is better php praogramming or cad/cam scope wise and also salaray wise?

1574


What is singleton design pattern in php?

562


How to remove leading and trailing spaces from user input values in php?

546


Which function you can use in php to open a file for reading or writing or for both?

555


How can we get the error when there is a problem to upload a file?

529


How to break a file path name into parts?

540


What is default session time and path in php?

549


What is the difference between php traits vs interfaces?

489


What is list function with their uses.

533


Why does sql injection happen?

576