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

lastMonthOfYear

A function that returns a Date object of the last month in a year.

ts
lastMonthOfYear(new Date(2017, 5, 3)); // 2017-12-3
lastMonthOfYear(new Date(2017, 11, 3)); // 2017-12-3

Parameters

value Date

Returns

Date - The last month in a year.

Not finding the help you need?
Contact Support