Are you looking to get the current timestamp whenever your event is triggered? If so, you could call the now() method on the Date object: Date.now(). Here's the W3Schools documentation.
Are you looking to get the current timestamp whenever your event is triggered? If so, you could call the now() method on the Date object: Date.now(). Here's the W3Schools documentation.