firefox - JavaScript event timestamps not consistent -


i notice when click 1 element on site e.timestamp reported firebug in event handler 9-digit number, 866523917, , when click different element e.timestamp reported in handler firebug 16-digit number, 1376344365954000. why difference?

thanks

as defined in standard timestamp returns number of milliseconds since epoch:

used specify time (in milliseconds relative epoch) @ event created. due fact systems may not provide information value of timestamp may not available events. when not available, value of 0 returned.

however, there no strict definition epoch:

examples of epoch time time of system start or 0:0:0 utc 1st january 1970.

some events using first variant (system start) while others use time since 1970. hence difference. side note it's possible timestamp not provided @ events, value 0.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -