Ok, when someone submits info into the database, a date gets put into the table.
Using this code:
$date = Date("y-m-d h:i:s");
$query="INSERT INTO table (name,email,url,message,dateadded) VALUES
('$name','$email','$url','$message','$date')";
Now, when i view the info, if i added it at 8 PM, it will display 8 AM.....huh????
Is there any beter way to add the date or stop it from displaying AM when it should say PM, and visa versa? am i doing anything wrong?