New to KendoReactStart a free 30-day trial

Definition

Package:@progress/kendo-date-math

Syntax:

ts
nextDayOfWeek(new Date(2016, 0, 1), Day.Wednesday); // 2016-01-06, Wednesday

A function which returns a date by a specific week name. For example, Day.Monday.

Parameters:dateDate

The date to calculate from.

weekDayDay

The Day enum specifying the desired week day.

Returns:

Date

  • A Date instance.
In this article
Definition
Not finding the help you need?
Contact Support