I\'m having problems getting the date inserted properly into my database.
$date = date(\'m/d/Y h:i:s\', time());
I use this format, and, it
set the type of column named dateposted as DATETIME and run the following query:
type
dateposted
DATETIME
INSERT INTO table (`dateposted`) VALUES (CURRENT_TIMESTAMP)