OK, there is probably a very simple answer to this.
I want to call a function like this:
function getTime() {
return new Date().getTime();;
}
The only problem is...I need it to be an actually NEW time, and not just the already called time from the previous times I've called the function. How do I do this in javascript?
Thank you.
I want to call a function like this:
function getTime() {
return new Date().getTime();;
}
The only problem is...I need it to be an actually NEW time, and not just the already called time from the previous times I've called the function. How do I do this in javascript?
Thank you.