month
year
seconds in a month
var num = secondsInMonth();
// returns <number>
var num = secondsInMonth( 2 );
// returns <number>
var num = secondsInMonth( 2, 2016 );
// returns 2505600
var num = secondsInMonth( 2, 2017 );
// returns 2419200
Returns the number of seconds in a month.
Notes
month
andyear
arguments.month
may be either a month's integer value, three letter abbreviation, or full name (case insensitive).must provide a recognized month
an integer month argument must be on the interval
[1,12]