New to KendoReactStart a free 30-day trial

Definition

Package:@progress/kendo-date-math

Syntax:

ts
firstMonthOfYear(new Date(2017, 11, 1)); // 2017-1-1
firstMonthOfYear(new Date(2017, 0, 1)); // 2017-1-1

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

Parameters:valueDateReturns:

Date

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