I have exported my database to a CSV file and the timestamp now liiks like this:
1384204028
How can I convert it to the typical format, for example 2013-01-19 03:14:07
?
Use FROM_UNIXTIME()
SELECT FROM_UNIXTIME(1384204028);
or (equivalent but with parameter to control the format):
SELECT FROM_UNIXTIME(1384204028, '%Y-%m-%d %H:%i:%s');