Differences in Javascript date in XP and OSX -
var d = new date(); var date = d.gettime(); var age = math.floor(date/1000 - time); time unix timestap 1434168603 retrieved table.
if console.log(time), both numbers equal on xp , mac osx (chrome). if console.log(date/1000), example 1 1433914098 (rounded) on xp 1434168768 (rounded) on osx, leading incorrect submission time on xp. on osx it's correct.
what causing this?
Comments
Post a Comment