Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get current date

let date = new Date()
let day = date.getDate();
let month = date.getMonth()+1;
let year = date.getFullYear();

let fullDate = `${day}.${month}.${year}.`;
console.log(fullDate);
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #current #date
ADD COMMENT
Topic
Name
9+5 =