Why a Unix timestamp shows 1970 in JavaScript
Suppose a log says an event happened at 1735689600. You expect January 1, 2025, but new Date(1735689600) gives you a date in January 1970. That log counts seconds since January 1, 1970 at midnight UTC. JavaScript expects milliseconds when you pass a number to new Date().
There are 1,000 milliseconds in a second. You can check the units in a browser before changing any code.
