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

IsToday

methods

Determines whether the passed date is today's date, ignoring the time part.

Parameters:targetDateDate

The date to be checked.

Returns:Boolean

Returns true if the passed date is today's date, ignoring the time part.

<script>
    var targetDate = new Date(2016,10,5,15,25,11);
    var today = new Date();

/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(today); //Fri Nov 04 2016 16:58:30 GMT+0200 (FLE Standard Time)
    var isToday = kendo.date.isToday(targetDate);

/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(isToday); //false
</script>
Not finding the help you need?
Contact Support