Functions.DateFormat(Column, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a date/timestamp/string to a value of string in the format specified by the date format given by the second argument.
public static Microsoft.Spark.Sql.Column DateFormat(Microsoft.Spark.Sql.Column dateExpr, string format);
static member DateFormat : Microsoft.Spark.Sql.Column * string -> Microsoft.Spark.Sql.Column
Public Shared Function DateFormat (dateExpr As Column, format As String) As Column
Parameters
- dateExpr
- Column
Date expression
- format
- String
Format string to apply
Returns
Column object