NEXT_DAY

Returns the date of the next specified weekday after a given date.

Analyze Syntax

func.next_day(<date>, <weekday>)

Analyze Examples

func.next_day('2024-06-15', 'Monday')

┌──────────────┐
 '2024-06-17'  
└──────────────┘

SQL Syntax

NEXT_DAY(<date>, <weekday>)

SQL Examples

SELECT NEXT_DAY('2024-06-15', 'Monday');

┌────────────┐
 2024-06-17  
└────────────┘