• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

how to create an actually new object in javascript?

hellod9

Senior member
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.
 
Back
Top