New to Kendo UI for Angular? Start 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.