var date=new Date;
var year=date.getFullYear();
var month=date.getMonth()+1;
month =(month<10 ? "0"+month:month);
var mydate = (year.toString()+"-"+month.toString());
mydate = 2018-07
let ym1=year_month.replace("-","");
ym1 = 201807
ym2=ym1.substring(0, 4) + "-" +ym1.substring(4, 6);
ym2 = 2018-07