Functions.Year(Column) 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.
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