redstarfcs, I am not sure what language you speak but PHP has documentation for their commands here
http://www.php.net/docs.php. You will find a lot of the answers for the php functions you will need to use after you select your data from the MySQL database.
The date and time functions in question are at
http://www.php.net/manual/en/ref.datetime.php for more information on those.
The MySQL manual is at
http://dev.mysql.com/doc/mysql/en/index.html. Their date and time functions are at
http://dev.mysql.com/doc/mysql/en/Da...functions.html