DATE_FORMAT

The date function used to format a date or datetime value, according to a given format string. A wide variety of formatting options are available. The full set of formatting characters supported and sample format strings can be found at https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html.