Skip to content

Unix ms to Unix timestamp converter

Unix timestamp in milliseconds → Unix timestamp in seconds

Swap → Unix timestamp to Unix ms

Unix timestamp · Unix Timestamp (sec)

1719619200

Worked examples

InstantUnix msUnix timestamp
an ordinary afternoon17827434000001782743400
a leap day18354279070001835427907
the Unix epoch00

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

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.