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

lastDecadeOfCentury

A function that returns a Date object of the last decade in a century.

ts
lastDecadeOfCentury(new Date(2017, 0, 1)); // 2090-1-1
lastDecadeOfCentury(new Date(2007, 10, 22)); // 2090-11-22
lastDecadeOfCentury(new Date(2126, 0, 1)); // 2190-1-1

Parameters

value

Date

Returns

Date

- The last year in a decade.
Not finding the help you need?
Contact Support