New to Kendo UI for Angular? Start a free 30-day trial
lastDayOfMonth
A function which returns the last date of the month.
ts
lastDayOfMonth(new Date(2016, 0, 15)); // 2016-01-31
Parameters
date Date
The initial date.
Returns
Date - The last date of the initial date month.