Unix timestamps: seconds vs milliseconds
Ten digits commonly means seconds and thirteen commonly means milliseconds. Treating one as the other shifts the date by roughly a factor of 1,000.
Unix Timestamp ConverterOpen the tool
Steps
- Inspect the length, but do not rely on length alone.
- Try both seconds and milliseconds.
- Verify UTC, local time and ISO 8601 output.
- Document the expected unit in your API.
Common questions
Unix timestamps: seconds vs milliseconds — WebToolMint?
Ten digits commonly means seconds and thirteen commonly means milliseconds. Treating one as the other shifts the date by roughly a factor of 1,000.
Privacy / 隐私
The related tool primarily works in your browser. Keep the original and verify the result before sharing or submission.