javascript - Would event.timeStamp and Date.getTime have the same reference? -


would event.timestamp , date.gettime() return same values if taken @ exact same time?

for instance, use gettime() in order calculate how time passed since event occurred, or might happen 2 use different epoch / references?

no, they're on same reference, utc, time zone of date internal storages.

you can use date.now().


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

Admob integration with pygame in android -

.htaccess: Transfer name to index.php if not directory public -