1
2
3
4
5
6
function getDateDifference(){
	var dtoday = new Date();
	var sDate = new Date(startDateYear, startDateMonth, startDateDay);
	var diff = sDate - dtoday;
	diff = Math.round(diff/(1000*60*60*24));
}