the mysql column types for date fields are
date
datetime
timestamp
time
year
http://www.mysql.com/doc/en/Date_and_time_types.html
timestamp is the one that will change automatically every time you do an update on the row. That isn't what you want for static dates.
if you just want the date, use a date field, if you just want the time, use a time field, or get both with datetime.
OR
create an int column and store an epoch timestamp in it using time()
When setting a datetime field, on the Insert command, do this:
$query = "INSERT INTO tablename SET datefield = NOW()";
for an int field use this:
$query = "INSERT INTO tablename SET datefield = " . time();
when retrieving the value of an int field, you can send it to date() or strftime();
$row = mysql_fetch_assoc($result);
print date("m-d-Y H:M",$row['datefield']);
// OR
print strftime("%m-%d-%Y %H:%M",$row['datefield']);
if you have a datetime field, you can just display it as it is set in mysql in YYYY-MM-DD HH:MM:SS format.
To reformat it, pass it through strtotime(), then to strftime() or date()
links:
http://www.mysql.com/doc/en/Date_and_time_types.html
http://www.php.net/manual/en/ref.datetime.php