Easy, you insert the date in one of several ways (i.e. 2001-01-01, 1 jan 2001, 01-01-2001, 01/01/2001 etc...) and the database stores it as a date stamp. When you do a select, the database formats it into a date stamp that you should be able to change the style of. The method for changing the default or reformatting it on the fly is different for each database, but each one usually has a nice section on date types in it's manual.