New to KendoReactStart a free 30-day trial

isEqualDate

Function

Definition

Package:@progress/kendo-date-math

Syntax:

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

A function that compares the date portions of 2 dates.

Parameters:candidateDate

The candidate date.

expectedDate

The expected date.

Returns:

boolean

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