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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -