var date = new Date);
date .getYear);
date .getFullYear);
date .getMonth);
date .getDate);
date .getDay);
date .getTime);
date .getHours);
date .getMinutes);
date .getSeconds);
date .getMilliseconds);
date .toLocaleDateString);
var mytime=date .toLocaleTimeString);
date .toLocaleString );
var nowMonth = date.getMonth) + 1;
var strDate = date.getDate);
var seperator = "-";
if nowMonth >= 1 && nowMonth <= 9) {
nowMonth = "0" + nowMonth;
}
if strDate >= 0 && strDate <= 9) {
strDate = "0" + strDate;
}
var nowDate = date.getFullYear) + seperator + nowMonth + seperator + strDate;
var time = new Date).getTime) - 24 * 60 * 60 * 1000;
var yesday = new Datetime);