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

Determines whether the time part of a date is within the time span of a specific date range.

Parameters:targetDateDate

The date to be checked.

lowerLimitDateDate

The lower limit date of the range.

upperLimitDateDate

The upper limit date of the range.

Returns:Boolean

Returns true if the time part of a date is within the time span of a certain date range.

<script>
    var targetDate = new Date(2016,5,5,15,25,11);
    var lowerLimitDate = new Date(2016,9,5,14,25,11);
    var upperLimitDate = new Date(2016,11,5,17,25,11);

    var isInTimeRange = kendo.date.isInTimeRange(targetDate,lowerLimitDate,upperLimitDate);

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