Unix ms to Unix timestamp converter
Unix timestamp in milliseconds → Unix timestamp in seconds
Unix timestamp · Unix Timestamp (sec)
Worked examples
| Instant | Unix ms | Unix timestamp |
|---|---|---|
| an ordinary afternoon | 1782743400000 | 1782743400 |
| a leap day | 1835427907000 | 1835427907 |
| the Unix epoch | 0 | 0 |
What this conversion changes
- Milliseconds are dropped: the value is divided by 1000 and floored (negative values round toward −∞, e.g. −1500 ms → −2 s).
- Dropped on the way out: milliseconds. The conversion is lossy; converting back will not restore them.
Unix ms — Unix timestamp in milliseconds
- Pattern
- Unix Timestamp (ms)
- Example
- 1719619200000
- Seen in
- JavaScript Date.now(), Java System.currentTimeMillis(), Kafka, Analytics exports
Unix timestamp — Unix timestamp in seconds
- Pattern
- Unix Timestamp (sec)
- Example
- 1719619200
- Seen in
- Linux and Unix tools, PHP time(), Python time.time(), JWT exp/iat claims, Stripe and most payment APIs
Related conversions
Thousands of values to convert?
CSV batch mode converts an entire column from Unix ms to Unix timestamp (or any of the 82 formats, with time-zone shifts), entirely in your browser, with no row limit set by us (your device's memory is the practical ceiling). $9.99/month, hides the ads, cancel anytime.