New to KendoReactStart a free 30-day trial

createDate

Function

Definition

Package:@progress/kendo-date-math

Syntax:

ts
createDate(2016, 0, 15); // 2016-01-15 00:00:00
createDate(2016, 0, 15, 22, 22, 20); // 2016-01-15 22:22:20

A function which returns a new Date instance.

Parameters:yearnumber

The year value.

monthnumber

The month value.

daynumber

The day value.

hoursnumber

The hours value.

minutesnumber

The minutes value.

secondsnumber

The seconds value.

millisecondsnumber

milliseconds value.

Returns:

Date

The date instance.

In this article
Definition
Not finding the help you need?
Contact Support