Share via


Functions.NextDay(Column, String) Method

Definition

Given a date column, returns the first date which is later than the value of the date column that is on the specified day of the week.

public static Microsoft.Spark.Sql.Column NextDay (Microsoft.Spark.Sql.Column date, string dayOfWeek);
static member NextDay : Microsoft.Spark.Sql.Column * string -> Microsoft.Spark.Sql.Column
Public Shared Function NextDay (date As Column, dayOfWeek As String) As Column

Parameters

date
Column

Date column

dayOfWeek
String

One of the following (case-insensitive): "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun".

Returns

Column object

Applies to