Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql format date

DATE_FORMAT(date, format)
-- E.g.
SELECT DATE_FORMAT(dateField, '%m/%d/%Y') FROM TableName;
-- See https://www.mysqltutorial.org/mysql-date_format/ for available formats
Source by www.mysqltutorial.org #
 
PREVIOUS NEXT
Tagged: #mysql #format #date
ADD COMMENT
Topic
Name
4+2 =