如何在PHP中显示时间和日期

问题描述:

大家好,我只是想知道如何在PHP的同一行上显示时间,日期和月份,例如8h10,然后播放几秒钟然后显示月份

例如:2010年3月3日8小时10分60秒

感谢您的提前帮助.

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

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




在Google的大约2秒内找到;
http://www.totallyphp.co.uk/code/display_date_and_time_with_php.htm [ ^ ]




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