date_format
function
Applies to: Databricks SQL Databricks Runtime
Converts a timestamp to a string in the format fmt
.
Arguments
expr
: A DATE, TIMESTAMP, or a STRING in a valid datetime format.fmt: A STRING expression describing the desired format.