
- Learn MySQL
- MySQL - Home
- MySQL - Introduction
- MySQL - Installation
- MySQL - Administration
- MySQL - PHP Syntax
- MySQL - Connection
- MySQL - Create Database
- MySQL - Drop Database
- MySQL - Select Database
- MySQL - Data Types
- MySQL - Create Tables
- MySQL - Drop Tables
- MySQL - Insert Query
- MySQL - Select Query
- MySQL - Where Clause
- MySQL - Update Query
- MySQL - Delete Query
- MySQL - Like Clause
- MySQL - Sorting Results
- MySQL - Using Join
- MySQL - NULL Values
- MySQL - Regexps
- MySQL - Transactions
- MySQL - Alter Command
- MySQL - Indexes
- MySQL - Temporary Tables
- MySQL - Clone Tables
- MySQL - Database Info
- MySQL - Using Sequences
- MySQL - Handling Duplicates
- MySQL - SQL Injection
- MySQL - Database Export
- MySQL - Database Import
How to convert from Unix timestamp to MySQL timestamp value?
MySQL converts Unix timestamp to timestamp data type value with the help of FROM_UNIXTIME() function.
Example
mysql> Select FROM_UNIXTIME(1508622563); +-----------------------------+ | FROM_UNIXTIME(1508622563) | +-----------------------------+ | 2017-10-22 03:19:23 | +-----------------------------+ 1 row in set (0.00 sec)
- Related Articles
- Convert MySQL timestamp to UNIX Timestamp?
- How to convert MySQL datetime to Unix timestamp?
- Convert MySQL Unix-Timestamp format to date format?
- MySQL - Convert YYYY-MM-DD to UNIX timestamp
- How to convert Python date to Unix timestamp?
- Convert MM/DD/YY to Unix timestamp in MySQL?
- Convert dd/mm/yyyy string to Unix timestamp in MySQL?
- How to convert a Unix timestamp to time in JavaScript?
- Convert UNIX timestamp into human readable format in MySQL?
- How to convert unix timestamp string to readable date in Python?
- How to convert timestamp to datetime in MySQL?
- How to get the Unix timestamp in C#
- MySQL query to convert timestamp to month?
- How to select date from timestamp in MySQL?
- Convert string (varchar) to timestamp format in MySQL?

Advertisements