Richard Lord wrote a good article explaining the various ways of handling dates and times with PHP and MySQL.