Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
(Move to ...)
Home
Me
▼
Sunday, January 2, 2011
Date In PHP
To display a date, use date() function:
echo date("l, F d, Y");
// day - month - date - year
ouput>> Sunday, January 02, 2011
echo date("h:i:s");
// hours:minutes:seconds
output>>
11:36:07
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment