New to KendoReactStart a free 30-day trial

cloneDate

Function

Definition

Package:@progress/kendo-date-math

Syntax:

ts
cloneDate(new Date(2016, 0, 1)); // returns new Date(2016, 0, 1);
cloneDate(null); // returns null

A function that clones the passed date. The parameter could be null.

Parameters:date?Date

The initial date value.

Returns:

Date

  • A new Date instance.
In this article
Definition
Not finding the help you need?
Contact Support