I want to check, in javascript, if the current date is between November first and March first, and if it is then perform something.
Here is my current code:
var today = new Date();
if (today.getMonth() >= 10 && today.getMonth() < 2) {
$(document).ready( function(){
$.fn.test();
});
}
You could do this: