New to Kendo UI for VueStart a free 30-day trial

isEqualDate

A function that compares the date portions of 2 dates.

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

Parameters

candidate

Date

The candidate date.
expected

Date

The expected date.

Returns

boolean

- A Boolean value whether the values are equal.
Not finding the help you need?
Contact Support