Click here to Skip to main content
15,894,198 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello everybody , i just wanted to know how to display time , Date , and month on the same row in PHP for example 8h10with some seconds playing then the month

e.g: March 3/8/2010 8h10min 60sec

Thanks for your help in advance
Posted

1 solution

PHP
echo date("l, F d, Y h:i" ,time());



Found in about 2 seconds with Google;
http://www.totallyphp.co.uk/code/display_date_and_time_with_php.htm[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900