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