Unix timestamps in JavaScript: seconds vs milliseconds
A Unix timestamp counts the time since 1 January 1970 00:00:00 UTC. The most common bug is mixing up the unit. Many APIs and databases use seconds, while JavaScript uses milliseconds. The result is a