Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get date in javascript

function getTodayDate() {
    let d = new Date();
    return d;
}

console.log(getTodayDate());

//2020-12-06T09:53:14.105Z
 
PREVIOUS NEXT
Tagged: #date #javascript
ADD COMMENT
Topic
Name
7+8 =