https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_date-format MySQL :: MySQL 5.7 Reference Manual :: 12.7 Date and Time Functions 12.7 Date and Time Functions This section describes the functions that can be used to manipulate temporal values. See Section 11.3, “Date and Time Types”, for a description of the range of values each date and time type has and the valid fo..