faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 4 people (50%) answered Yes
Recently 2 of 4 people (50%) answered Yes

Entry

What function do we use to format date information?

Mar 24th, 2008 20:25
ha mo, Chad Currie, Himanshu Jain, http://www.blogvoid.com/


The date( ) function accepts formatting flags and a date in time stamp
format.It returns a formatted date string.
date("Y-m-d h:i:s");
Would display something in this format 2006-10-29 08:57:23
You can see more examples here http://www.php.net/date
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com