testing how MySQL is converting my dates
I am looking to create a bit of code to test how MySQL converts
2013,09,19,23,38,44
to
2013-09-19 23:38:44
I can do this with php, but I need the MySQL database to do this, so that I can test out how MySQL converts various formats into YYYY-MM-DD HH:MM:SS.
I can do this by creating a table and adding a column that is in the datetime format and inserting or updating the date in that table. I want to use the MySQL engine to convert the date without manipulating any stored tables.
I hope this makes sense. I have done things like this before, but I have forgotten the basic syntax and I have not done this with DATETIME conversions before.