Try this:

DATE_FORMAT(FROM_UNIXTIME(time_stamp), '%d/%m/%Y')

Example:

SELECT DATE_FORMAT('2016-05-01 09:23:00', '%d/%m/%Y') // result: 01/05/2016
Answer from Alexey on Stack Overflow
🌐
MySQL
dev.mysql.com › doc › en › date-and-time-functions.html
MySQL :: MySQL 8.4 Reference Manual :: 14.7 Date and Time Functions
Returns the current UTC date and ... from 0 to 6, the return value includes a fractional seconds part of that many digits. mysql> SELECT UTC_TIMESTAMP(), UTC_TIMESTAMP() + 0; -> '2003-08-14 18:08:04', 20030814180804.000000...
🌐
Metabase
discourse.metabase.com › get help
How can I convert Unix TimeStamp data to datetime format (dd/mm/yyyy)? - Get Help - Metabase Discussion
September 14, 2020 - I have in my Mysql database a table with the data values in Unix TimeStamp (milliseconds). Is there any form of conversion so that when displaying the query results it appears in the data format dd / mm / yyyy? For example, I want to program an indicator of processes started per month, so I ...
🌐
MySQL
dev.mysql.com › doc › en › datetime.html
MySQL :: MySQL 8.4 Reference Manual :: 13.2.2 The DATE, DATETIME, ...
The DATETIME type is used for values that contain both date and time parts. MySQL retrieves and displays DATETIME values in 'YYYY-MM-DD hh:mm:ss' format. The supported range is '1000-01-01 00:00:00' to '9999-12-31 23:59:59'. The TIMESTAMP data type is used for values that contain both date and time parts.
🌐
EDUCBA
educba.com › home › data science › data science tutorials › mysql tutorial › timestamp to date in mysql
Timestamp to Date in MySQL | Examples of Timestamp to Date in MySQL
June 2, 2023 - The integer value of the timestamp is converted in the date format of YYYY DD MM format by using a function called FROM_UNIXTIME (). Here we will see how we can implement the FROM_UNIXTIME () function to convert a value stored in a particular ...
Address   Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
🌐
GeeksforGeeks
geeksforgeeks.org › sql › how-to-convert-timestamp-to-datetime-in-mysql
How to Convert Timestamp to Datetime in MySQL? - GeeksforGeeks
July 23, 2025 - In this article, we are going to ... these queries, we need to first add integer data(written in timestamp format) and then use the FROM_UNIXTIME() function to convert it into "Datetime" Data Type....
🌐
Software Testing Help
softwaretestinghelp.com › home › mysql › mysql date format and timestamp functions with examples
MySQL Date Format And Timestamp Functions With Examples
April 1, 2025 - For example: Converting the required date in format mm/yyyy. SELECT DATE_FORMAT('2020-03-15 07:10:56.123', '%m/%Y'); //output 03/2020 · Let’s see some common conventions for using format specifiers: Depending on the requirement these format specifiers can be used and MySQL DateTime can be converted into required format. Example: Converting to dd...
🌐
W3Schools
w3schools.com › sql › func_mysql_date_format.asp
MySQL DATE_FORMAT() Function
String Functions: ASCII CHAR CHARINDEX CONCAT Concat with + CONCAT_WS DATALENGTH DIFFERENCE FORMAT LEFT LEN LOWER LTRIM NCHAR PATINDEX QUOTENAME REPLACE REPLICATE REVERSE RIGHT RTRIM SOUNDEX SPACE STR STUFF SUBSTRING TRANSLATE TRIM UNICODE UPPER Numeric Functions: ABS ACOS ASIN ATAN ATN2 AVG CEILING COUNT COS COT DEGREES EXP FLOOR LOG LOG10 MAX MIN PI POWER RADIANS RAND ROUND SIGN SIN SQRT SQUARE SUM TAN Date Functions: CURRENT_TIMESTAMP DATEADD DATEDIFF DATEFROMPARTS DATENAME DATEPART DAY GETDATE GETUTCDATE ISDATE MONTH SYSDATETIME YEAR Advanced Functions CAST COALESCE CONVERT CURRENT_USER IIF ISNULL ISNUMERIC NULLIF SESSION_USER SESSIONPROPERTY SYSTEM_USER USER_NAME MS Access Functions
🌐
MySQL
dev.mysql.com › doc › refman › 8.0 › en › date-and-time-functions.html
MySQL :: MySQL 8.0 Reference Manual :: 14.7 Date and Time Functions
Returns the current UTC date and ... from 0 to 6, the return value includes a fractional seconds part of that many digits. mysql> SELECT UTC_TIMESTAMP(), UTC_TIMESTAMP() + 0; -> '2003-08-14 18:08:04', 20030814180804.000000...
Find elsewhere
🌐
SQLines
sqlines.com › mysql › functions › str_to_date
MySQL STR_TO_DATE Function - Features, Examples and Equivalents - SQLines Tools
STR_TO_DATE function converts a string in the specified format to DATETIME, DATE or TIME value. ... Oracle TO_DATE and TO_TIMESTAMP functions can convert a string in the specified format. Note that the format specifiers are different (see mapping above). SELECT TO_DATE('17-09-2010','DD-MM-YYYY') ...
🌐
Web Rewrite
webrewrite.com › convert-timestamp-date-time-format-mysql
How to Convert Timestamp to Date and Time Format in MySql
January 26, 2022 - MySql provides FROM_UNIXTIME() method, using this method you can easily convert TimeStamp to Date and Time format. ... It takes a timestamp as an argument and output a value in ‘YYYY-MM-DD HH:MM:SS‘ format.
🌐
w3resource
w3resource.com › mysql › date-and-time-functions › mysql-from_unixtime-function.php
MySQL FROM_UNIXTIME() function - w3resource
When analyzing log files or data that uses Unix timestamps to record events, FROM_UNIXTIME() helps convert timestamps into meaningful time representations. ... The following statement will return a date time value from 1255033470. ... mysql> SELECT FROM_UNIXTIME(1255033470); +---------------------------+ | FROM_UNIXTIME(1255033470) | +---------------------------+ | 2009-10-08 13:24:30 | +---------------------------+ 1 row in set (0.01 sec)
🌐
Quora
quora.com › How-do-I-display-date-in-dd-mm-yyyy-format-in-MySQL
How to display date in dd-mm-yyyy format in MySQL - Quora
Answer (1 of 5): Guessing you probably just want to format the output date? then this is what you are after [code]SELECT *, DATE_FORMAT(date,'%d/%m/%Y') AS niceDate FROM table ORDER BY date DESC LIMIT 0,14 [/code]Or do you actually want to sort ...
🌐
TutorialsPoint
tutorialspoint.com › mysql-date-format-to-convert-dd-mm-yy-to-yyyy-mm-dd
MySQL date format to convert dd.mm.yy to YYYY-MM-DD?
The MySQL STR_TO_DATE() function converts the date in string format to the date in a required format. This function accepts a date value in the string form and a format string as arguments, extracts the DATE, TIME or, DATETIME values from the given
🌐
Five
five.co › home › blog › sql timestamp to date conversion
SQL Timestamp to Date Conversion: Practical Guide
October 2, 2024 - In MySQL and MariaDB, you can use the DATE() function as shown above, or try these alternatives: SELECT CAST(timestamp_column AS DATE) AS converted_date, DATE_FORMAT(timestamp_column, '%Y-%m-%d') AS formatted_date FROM your_table;
🌐
Epoch Converter
epochconverter.com
Epoch Converter - Unix Timestamp Converter
Convert Unix Timestamps (and many other date formats) to regular dates.
🌐
TutorialsPoint
tutorialspoint.com › convert-dd-mm-yyyy-string-to-unix-timestamp-in-mysql
Convert dd/mm/yyyy string to Unix timestamp in MySQL?
Convert dd/mm/yyyy string to Unix timestamp with the help of UNIX_TIMESTAMP(). The syntax is as follows − SELECT UNIX_TIMESTAMP(STR_TO_DATE(yourColumnName,'%d/%m/%Y')) as anyVariableName FROM yourTa
🌐
DevArt
blog.devart.com › home › products › mysql tools › mysql date format: understanding date, time, and datetime in mysql
MySQL Date Format Guide: Queries, Functions & Examples
April 23, 2025 - MySQL stores dates as YYYY-MM-DD. If time is included, DATETIME and TIMESTAMP use the format YYYY-MM-DD HH:MM:SS. ... DATETIME stores values exactly as entered, making it best for historical records (e.g., contract dates, birthdates).