Supply details. What type is the column the date is going into. An integer, a string, a date, etc? What type is the PHP variable? What is the database? Oracle, MySql, PostgresSQL, etc. What have you tried so far? Lets see some code.
Have you done a Google search for something like this?