firstDayOfMonth
Function
Definition
Package:@progress/kendo-date-math
Syntax:
ts
firstDayOfMonth(new Date(2016, 0, 15)); // 2016-01-01
A function which returns the first date of the month.
Parameters:dateDate
The initial date.
Returns:Date
- The first date of the initial date month.