New to Kendo UI for VueStart a free 30-day trial

firstDayOfMonth

A function which returns the first date of the month.

ts
firstDayOfMonth(new Date(2016, 0, 15)); // 2016-01-01

Parameters

date

Date

The initial date.

Returns

Date

- The first date of the initial date month.
Not finding the help you need?
Contact Support