Grep function in jQuerry on date value in between start and end dates of a month

var filteredNews=$.grep(olistData,function(item,index){
return new Date(monthStartDate)<=new Date(item.Created.split("T")[0])&&new Date( item.Created.split("T")[0])<= new Date(monthEndDate);
});

Comments

Popular posts from this blog

SPSiteDataQuery to get data from multiple lists in site collection level in sharepoint 2013

Some of the Share Point Object Which I Practiced Till Now

My Interview Experience