for example: 2018-8-16 and 2018-9-16 should be calculated as one month, 2018-8-16 and 2018-9-17 should be calculated as two months
function countHours(){
    var startTime = $("-sharpstartTime").val();
    var endTime = $("-sharpendTime").val();
    time1 = Date.parse(new Date(startTime));
    time2 = Date.parse(new Date(endTime));
    var time3 =  parseInt(Math.abs(time2 - time1) / 1000 / 60 / 60 / 24 /30) ;
    $("-sharpyearSpan").text( time3 + "");
}