You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
249 B
8 lines
249 B
function getCurrentDate()
|
|
{
|
|
let today = new Date();
|
|
let dd = String(today.getDate()).padStart(2, '0');
|
|
let mm = String(today.getMonth() + 1).padStart(2, '0'); //January is 0!
|
|
let yyyy = today.getFullYear();
|
|
return mm + '/' + dd + '/' + yyyy;
|
|
}
|
|
|