Thanks Aaron. Like I read in a good PHP book. "Even though SQL does not do much, the things that it does do, it can do much faster than can be done in PHP". All the formating I would ever need for timestamp, date, time datatypes in MySQL can be easily done using the built in functions of MySQL on the page you suggested.