Edit this page

previousDay

Returns the previous day.

Parameters

targetDate Date

The base date for returning the previous day.

Returns

Date Returns the previous day.

Example

<script>
    var targetDate = new Date(2016,10,5,15,25,11);
    var previousDay = kendo.date.previousDay(targetDate);
    console.log(previousDay); //Fri Nov 04 2016 15:25:11 GMT+0200 (FLE Standard Time)
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy