"MySQL retrieves and displays DATETIME values in 'YYYY-MM-DD HH:MM:SS' format." This is from mysql site. You can store only this type, but you can use one of the many time format functions to change it, when you need to display it.

Mysql Time and Date functions

For example, one of those functions is the DATE_FORMAT, which can be used like so:

SELECT DATE_FORMAT(column_name, '%m/%d/%Y %H:%i') FROM tablename
Answer from Mirko Akov 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
CURRENT_DATE and CURRENT_DATE() ... CURRENT_TIMESTAMP() are synonyms for NOW(). ... Returns the current time as a value in 'hh:mm:ss' or hhmmss format, depending on whether the function is used in string or numeric context....
🌐
W3Schools
w3schools.com › sql › func_mysql_date_format.asp
MySQL DATE_FORMAT() Function
ADD ADD CONSTRAINT ALL ALTER ALTER COLUMN ALTER TABLE ALTER VIEW AND ANY AS ASC BACKUP DATABASE BETWEEN CASE CHECK COLUMN CONSTRAINT CREATE CREATE DATABASE CREATE INDEX CREATE OR REPLACE VIEW CREATE TABLE CREATE PROCEDURE CREATE UNIQUE INDEX CREATE VIEW DATABASE DEFAULT DELETE DESC DISTINCT DROP DROP COLUMN DROP CONSTRAINT DROP DATABASE DROP DEFAULT DROP INDEX DROP TABLE DROP VIEW EXEC EXISTS FOREIGN KEY FROM FULL OUTER JOIN GROUP BY HAVING IN INDEX INNER JOIN INSERT INTO INSERT INTO SELECT IS NULL IS NOT NULL JOIN LEFT JOIN LIKE LIMIT NOT NOT NULL OR ORDER BY OUTER JOIN PRIMARY KEY PROCEDURE RIGHT JOIN ROWNUM SELECT SELECT DISTINCT SELECT INTO SELECT TOP SET TABLE TOP TRUNCATE TABLE UNION UNION ALL UNIQUE UPDATE VALUES VIEW WHERE MySQL Functions
🌐
SQL Easy
sql-easy.com › learn › how-to-change-datetime-formats-in-mysql
How to Change Datetime Formats in MySQL: Your Step-by-Step Guide - SQL Knowledge Center
April 12, 2024 - In MySQL, the standard format for datetime is ‘YYYY-MM-DD HH:MM:SS’. This represents a combination of date and time values, where ‘YYYY’ stands for the four-digit year, ‘MM’ signifies two-digit month, ‘DD’ refers to two-digit ...
🌐
MySQL
dev.mysql.com › doc › refman › 9.4 › en › datetime.html
MySQL :: MySQL 9.4 Reference Manual :: 13.2.2 The DATE, DATETIME, and TIMESTAMP Types
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.
🌐
TutorialsPoint
tutorialspoint.com › setup-the-format-of-datetime-to-ddmm-yyyy-hh-mm-ss-with-mysql-select
Setup the format of DATETIME to 'DDMM- YYYY HH:MM:SS' with MySQL SELECT?
mysql> select date_format(ProductDeliverDate,'%d-%m-%Y %h:%i:%s') as UserFormat from UserDateFormat; The following is the output displaying date in the DD-MM-YYYY format −
🌐
MySQL
dev.mysql.com › doc › en › datetime.html
MySQL :: MySQL 8.4 Reference Manual :: 13.2.2 The DATE, DATETIME, and TIMESTAMP Types
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.
🌐
w3resource
w3resource.com › mysql › date-and-time-functions › mysql-date_format-function.php
MySQL DATE_FORMAT() function - w3resource
July 11, 2024 - SELECT -- Apply the DATE_FORMAT ... to retrieve data from the database. DATE_FORMAT: A MySQL function used to format date and time values according to a specified format....
🌐
GitHub
github.com › formulahendry › vscode-mysql › issues › 187
how to show date time as dd/mm/yyyy hh:mm:ss instead of GMT format · Issue #187 · formulahendry/vscode-mysql
January 8, 2022 - Hi When i run a SQL query the date column will show as GMT format as below. How to set default as dd/mm/yyyy hh:mm:ss format instead? Thanks
Author   ongkokl
Find elsewhere
🌐
MySQL
dev.mysql.com › doc › en › date-and-time-literals.html
MySQL :: MySQL 8.4 Reference Manual :: 11.1.3 Date and Time Literals
As a string in either 'YYYY-MM-DD hh:mm:ss' or 'YY-MM-DD hh:mm:ss' format. MySQL also permits a “relaxed” syntax here, although this is deprecated: Any punctuation character may be used as the delimiter between date parts or time parts. For example, '2012-12-31 11:30:45', '2012^12^31 11+30+45', ...
🌐
Elastic
discuss.elastic.co › elastic stack › elasticsearch
MySQL yyyy-MM-dd HH:mm:ss datetime into ElasticSearch - Elasticsearch - Discuss the Elastic Stack
March 15, 2017 - Hello, I am trying to insert a date such as 2017-03-15 23:39:03 into ElasticSearch. My mapping is: "inserted": { "type": "date", "format": "yyyy-MM-dd HH:mm:ss } But I'm getting the …
🌐
MySQL
dev.mysql.com › doc › refman › 8.4 › en › date-and-time-type-syntax.html
MySQL :: MySQL 8.4 Reference Manual :: 13.2.1 Date and Time Data Type Syntax
A date and time combination. The supported range is '1000-01-01 00:00:00.000000' to '9999-12-31 23:59:59.499999'. MySQL displays DATETIME values in 'YYYY-MM-DD hh:mm:ss[.fraction]' format, but permits assignment of values to DATETIME columns using either strings or numbers.
🌐
MySQL
dev.mysql.com › doc › refman › 8.0 › en › datetime.html
MySQL :: MySQL 8.0 Reference Manual :: 13.2.2 The DATE, DATETIME, and TIMESTAMP Types
May 6, 2022 - 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.
🌐
Database Journal
databasejournal.com › home › mysql
Converting between MySQL Date and Time Formats | Database Journal
December 13, 2021 - DATETIME: Stores a date and time value of the form YYYY-MM-DD HH:MM:SS. For example 2008-10-23 10:37:22. The supported range of dates and times is 1000-01-01 00:00:00 all the way through to 9999-12-31 23:59:59 · TIMESTAMP: Similar to DATETIME but more precise, as the TIMESTAMP includes ...
🌐
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
July 18, 2016 - 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 by Day before Month before Year?
🌐
MySQL
dev.mysql.com › doc › refman › 8.0 › en › date-and-time-literals.html
MySQL :: MySQL 8.0 Reference Manual :: 11.1.3 Date and Time Literals
February 9, 2022 - As a string in either 'YYYY-MM-DD hh:mm:ss' or 'YY-MM-DD hh:mm:ss' format. MySQL also permits a “relaxed” syntax here, although this is deprecated: Any punctuation character may be used as the delimiter between date parts or time parts. For example, '2012-12-31 11:30:45', '2012^12^31 11+30+45', ...
🌐
Ottomatik
ottomatik.io › post › mysql-date
A Guide To MySQL Date Data Type | Ottomatik
April 3, 2025 - However, with this specifier, you do not input a leading zero – 1, 2, … 12%MAllows the use of the month’s full name – January, December%mAdding month names with a leading zero – 00, 01,%pDepending on other time specifiers, include AM or PM%r12-hour format time in the format hh:mm:ss AM or PM%SZero-led seconds – 00, 01 …59.
🌐
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 - The MySQL DATETIME data type stores date and time in the format YYYY-MM-DD HH:MM:SS, making it suitable for event tracking, logs, and scheduling.