I have a MySQL database. There I have a table which has a column called date. The type of that column is String. That column contains a timestamp value (i.e. 1370842140205).
How can I select that value as a date? - 10.6.2013 5.29.00
I have a MySQL database. There I have a table which has a column called date. The type of that column is String. That column contains a timestamp value (i.e. 1370842140205).
How can I select that value as a date? - 10.6.2013 5.29.00
Use FROM_UNIXTIME
SELECT FROM_UNIXTIME(`date` / 1000.0)
from your_table
and remove the milli seconds from the timestamp with /1000
.