Skip to content

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

func.next_day(<date>, <weekday>)
func.next_day('2024-06-15', 'Monday')
┌──────────────┐
'2024-06-17'
└──────────────┘
NEXT_DAY(<date>, <weekday>)
SELECT NEXT_DAY('2024-06-15', 'Monday');
┌────────────┐
2024-06-17
└────────────┘