New to KendoReactStart a free 30-day trial

Definition

Package:@progress/kendo-date-math

Syntax:

ts
firstDecadeOfCentury(new Date(2017, 0, 1)); // 2000-1-1
firstDecadeOfCentury(new Date(2007, 10, 22)); // 2000-11-22
firstDecadeOfCentury(new Date(2126, 0, 1)); // 2100-1-1

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

Parameters:valueDateReturns:

Date

  • The first year in a century.
In this article
Definition
Not finding the help you need?
Contact Support