Important Points About MySQL DATE_FORMAT() Function
- The MySQL DATE_FORMAT() function is used to format a date value based on a specific format.
- The DATE_FORMAT() function returns a string whose character set and collation depend on the settings of the client’s connection2.
- It will return NULL if any of the arguments are NULL.
- The DATE_FORMAT() function is supported in MySQL from version 4.01.
MySQL DATE_FORMAT() Function
MySQL DATE_FORMAT() function formats a specified date to a given format value.
Contact Us