Edit this page

firstDayOfMonth

Returns the first day of a month without the time part out of a date object.

Parameters

targetDate Date

The date object to get the first day of the month of.

Returns

Date Returns the first day of a month without the time part out of a date object.

Example

<script>
    var targetDate = new Date(2016,10,5,15,25,11);
    var firstDayOfMonth = kendo.date.firstDayOfMonth(targetDate);
    console.log(firstDayOfMonth); //Tue Nov 01 2016 00:00:00 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