for example:
if your table has 5 fields for each date piece:
+---------+----------+--------+---------+------------+------------+
| theYear | theMonth | theDay | theHour | theMinutes | theSeconds |
+---------+----------+--------+---------+------------+------------+
| 2014 | 2 | 15 | 13 | 45 | 26 |
+---------+----------+--------+---------+------------+------------+
| 2013 | 5 | 12 | 5 | 15 | 45 |
+---------+----------+--------+---------+------------+------------+
you can use STR_TO_DATE and CONCAT in your SQL to create a date where you want to display the information:
SELECT STR_TO_DATE(CONCAT(theYear,'-',theMonth,'-',theDay,' ',theHours,':',theMinutes,':',theSeconds),'%Y-%m-%d %H:%i:%s') FROM table