New to KendoReactStart a free 30-day trial

isEqual

Function

Definition

Package:@progress/kendo-date-math

Syntax:

ts
isEqual(new Date(2016, 0, 1), new Date(2016, 0, 1)); // true
isEqual(new Date(2016, 0, 1), new Date(2016, 0, 2)); // false
isEqual(new Date(2016, 0, 1, 10), new Date(2016, 0, 1, 20)); // false

A function that compares two dates. The comparison also includes the time portion.

Parameters:candidateDate

The candidate date.

expectedDate

The expected date.

Returns:

boolean

  • A Boolean value indicating whether the values are equal.
In this article
Definition
Not finding the help you need?
Contact Support