Answers for "how to print date in javascript without time"

3

javascript get date without time

function WithoutTime(dateTime) {
    var date = new Date(dateTime.getTime());
    date.setHours(0, 0, 0, 0);
    return date;
}
Posted by: Guest on July-10-2020
0

how to print date in javascript without time

12/10/1996
Posted by: Guest on August-03-2021

Code answers related to "how to print date in javascript without time"

Code answers related to "Javascript"

Browse Popular Code Answers by Language