JavaScript
DategetDaysInQuarter Method
Syntax
Date.getDaysInQuarter()
Returns
- daysnumber
The number of day in the quarter the date is in.
Description
Extension to the native date variable to the get the number of days in the quarter a given date is in.
Example
var d = new Date(2018,7,10); var diq = d.getDaysInQuarter(); // diq = 92