Use FROM_UNIXTIME()
:
SELECT
FROM_UNIXTIME(timestamp)
FROM
your_table;
See also: MySQL documentation on FROM_UNIXTIME()
.
More Related Contents:
- MySQL convert date string to Unix timestamp
- Use MySQL to determine whether today is a user’s birthday
- mysql_fetch_array() expects parameter 1 to be resource, boolean given in [closed]
- How to group by two rows in a column
- How to perform grouped ranking in MySQL
- How to abort INSERT operation in MySql trigger?
- Mysql or/and precedence?
- MySQL “Group By” and “Order By”
- CHECK constraint in MySQL is not working
- MySQL Query to select data from last week?
- ERROR 2003 (HY000): Can’t connect to MySQL server on ‘127.0.0.1’ (111)
- Migrate from Oracle to MySQL
- Which is more efficient: Multiple MySQL tables or one large table?
- Are there disadvantages to using a generic varchar(255) for all text-based fields?
- How to skip columns in CSV file when importing into MySQL table using LOAD DATA INFILE?
- Error Code 1292 – Truncated incorrect DOUBLE value – Mysql
- MySQL InnoDB foreign key between different databases
- Images in MySQL
- Replace Into Query Syntax
- Loading utf-8 encoded text into MySQL table
- adding RMySQL package to R fails (on Windows)?
- Difference between SET autocommit=1 and START TRANSACTION in mysql (Have I missed something?)
- MySQL equivalent of Oracle’s SEQUENCE.NEXTVAL
- Why MySQL is giving error “Not allowed to return a result set from a function”?
- How to store decimal in MySQL?
- MySQL cumulative sum grouped by date
- Where I can find a list of “mysqldump” exit codes?
- MySQL – Cannot insert NULL value in column, but I have a default value specified?
- How to escape apostrophe (a single quote) in MySql?
- Working with INTERVAL and CURDATE in MySQL