Share via


Functions.Year(Column) Method

Definition

Extracts the year as an integer from a given date/timestamp/string.

public static Microsoft.Spark.Sql.Column Year (Microsoft.Spark.Sql.Column column);
static member Year : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Year (column As Column) As Column

Parameters

column
Column

Column to apply

Returns

Column object

Applies to