Timestamp Difference Calculator

Subtract timestamp A from B and show the exact difference in the selected unit and seconds.

Convert in your browser · No sign-up

Accepts signed integer timestamps in seconds, milliseconds, microseconds or nanoseconds. It does not apply a time zone.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

How to use

  1. Subtract timestamp A from B and show the exact difference in the selected unit and seconds.
  2. Choose the mode or options, then run the tool.
  3. Review the result, then copy or download the TXT file.

Example

B − A = 3600123 ms = 3600.123 s

Details and limitations

Accepts signed integer timestamps in seconds, milliseconds, microseconds or nanoseconds. It does not apply a time zone.

Text stays in your browser; it is not sent to a conversion server.

FAQ

Timestamp Difference Calculator — What are the supported inputs and limits?

Accepts signed integer timestamps in seconds, milliseconds, microseconds or nanoseconds. It does not apply a time zone.

Format references

Tool page updated: