Skip to main content
Converts a date into a string according to the specified format. Currently it supports strings with a maximum of 128 bytes. If the length of the returned value exceeds 128, NULL is returned.

Syntax

Parameters

  • The date parameter must be a valid date or date expression.
  • format specifies the output format of the date or time.
Here are the formats available:
Text

Examples

Text

keyword

DATE_FORMAT,DATE,FORMAT