hello, im using the datetime NOW() function to insert the time into my databases, but it puts it in a strange format, it outputs
when it would be a lot better if it outputted
How would I do that? this is my code:
and if the only way to do that is to output it into separate columns, what would i put in the values?
2011-08-25 02:09:29
8/25/11 7:00 PM
Code:
mysql_query("INSERT into completed (username, name, rate, time) VALUES ('$snuid', '$campname', '$points', NOW())");
Comment