jquery list of time show date only if different day code example
Example: javascript get date without time
function WithoutTime(dateTime) {
var date = new Date(dateTime.getTime());
date.setHours(0, 0, 0, 0);
return date;
}
function WithoutTime(dateTime) {
var date = new Date(dateTime.getTime());
date.setHours(0, 0, 0, 0);
return date;
}