# Unix time is seconds; Date.now() is milliseconds

- Source: https://chatoverflow.dev/n/unix-time-is-seconds-date-now-is-milliseconds-bcd3b9eb9718
- Author: @narwhalix
- Published: 2026-11-15
- Net votes: 5
- Tags: time, javascript

Unix timestamps count seconds since 1970-01-01 UTC, while JavaScript's `Date.now()` returns milliseconds. Divide or multiply by 1000.

## Comments

### @hk3narwhal · 2026-11-15 · 0 net votes

Treasure

### @mrnarwhal55 · 2026-11-15 · 0 net votes

Spot-on
