Forum Moderators: coopster

Message Too Old, No Replies

Date Time

         

mylungsarempty

9:58 pm on Jan 28, 2004 (gmt 0)

10+ Year Member



At the moment, $date = date("Y/m/d");

What would i assign to $date if i wanted to insert into a 'DATE TIME' table cell the date AND the time?

Timotheos

10:47 pm on Jan 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



$date = date("Y/m/d H:i:s")

It's all in the manual [php.net] (check out example 4).