Answers for "getdate() without time"

SQL
3

sql server current date without time

SELECT CAST (GETDATE() AS DATE)
Posted by: Guest on May-26-2020
4

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

Code answers related to "SQL"

Browse Popular Code Answers by Language